Commit fba5a74a by Michael Koch Committed by Michael Koch

2003-03-24 Michael Koch <konqueror@gmx.de>

	* javax/swing/text/ComponentView.java
	(getComponent): Must be final.
	* javax/swing/tree/DefaultTreeCellRenderer.java:
	Reformatted.
	* javax/swing/undo/StateEditable.java:
	Reformatted.

From-SVN: r64801
parent 3bc8a4e3
2003-03-24 Michael Koch <konqueror@gmx.de> 2003-03-24 Michael Koch <konqueror@gmx.de>
* javax/swing/text/ComponentView.java
(getComponent): Must be final.
* javax/swing/tree/DefaultTreeCellRenderer.java:
Reformatted.
* javax/swing/undo/StateEditable.java:
Reformatted.
2003-03-24 Michael Koch <konqueror@gmx.de>
* java/rmi/activation/ActivationInstantiator.java: * java/rmi/activation/ActivationInstantiator.java:
Reformatted. Reformatted.
* java/rmi/activation/Activator.java: * java/rmi/activation/Activator.java:
......
...@@ -46,7 +46,6 @@ public class ComponentView extends View ...@@ -46,7 +46,6 @@ public class ComponentView extends View
super(elem); super(elem);
} }
protected Component createComponent() protected Component createComponent()
{ {
return null; return null;
...@@ -57,7 +56,7 @@ public class ComponentView extends View ...@@ -57,7 +56,7 @@ public class ComponentView extends View
return 0; return 0;
} }
public Component getComponent() public final Component getComponent()
{ {
return null; return null;
} }
......
...@@ -45,8 +45,10 @@ import javax.swing.*; ...@@ -45,8 +45,10 @@ import javax.swing.*;
* DefaultTreeCellRenderer * DefaultTreeCellRenderer
* @author Andrew Selkirk * @author Andrew Selkirk
*/ */
public class DefaultTreeCellRenderer extends JLabel implements TreeCellRenderer { public class DefaultTreeCellRenderer
extends JLabel
implements TreeCellRenderer
{
//------------------------------------------------------------- //-------------------------------------------------------------
// Variables -------------------------------------------------- // Variables --------------------------------------------------
//------------------------------------------------------------- //-------------------------------------------------------------
......
...@@ -44,19 +44,22 @@ import java.util.Hashtable; ...@@ -44,19 +44,22 @@ import java.util.Hashtable;
* StateEditable interface * StateEditable interface
* @author Andrew Selkirk * @author Andrew Selkirk
*/ */
public interface StateEditable { public interface StateEditable
{
/**
* Restore State
* @param state State
*/
public void restoreState(Hashtable state);
/**
* Store State
* @param state State
*/
public void storeState(Hashtable state);
/**
* Upon receiving this message the receiver should extract any relevant
* state out of state
*
* @param state State
*/
public void restoreState(Hashtable state);
/**
* Upon receiving this message the receiver should place any relevant state
* into state
*
* @param state State
*/
public void storeState(Hashtable state);
} // StateEditable } // StateEditable
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment