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>
* 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:
Reformatted.
* java/rmi/activation/Activator.java:
......
......@@ -46,7 +46,6 @@ public class ComponentView extends View
super(elem);
}
protected Component createComponent()
{
return null;
......@@ -57,7 +56,7 @@ public class ComponentView extends View
return 0;
}
public Component getComponent()
public final Component getComponent()
{
return null;
}
......
......@@ -45,8 +45,10 @@ import javax.swing.*;
* DefaultTreeCellRenderer
* @author Andrew Selkirk
*/
public class DefaultTreeCellRenderer extends JLabel implements TreeCellRenderer {
public class DefaultTreeCellRenderer
extends JLabel
implements TreeCellRenderer
{
//-------------------------------------------------------------
// Variables --------------------------------------------------
//-------------------------------------------------------------
......
......@@ -44,19 +44,22 @@ import java.util.Hashtable;
* StateEditable interface
* @author Andrew Selkirk
*/
public interface StateEditable {
public interface StateEditable
{
/**
* Restore State
* Upon receiving this message the receiver should extract any relevant
* state out of state
*
* @param state State
*/
public void restoreState(Hashtable state);
/**
* Store State
* Upon receiving this message the receiver should place any relevant state
* into state
*
* @param state State
*/
public void storeState(Hashtable state);
} // 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