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
This commit is contained in:
Michael Koch 2003-03-24 14:05:02 +00:00 committed by Michael Koch
parent 3bc8a4e355
commit fba5a74af3
4 changed files with 30 additions and 17 deletions

View File

@ -1,3 +1,12 @@
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:

View File

@ -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;
}

View File

@ -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 --------------------------------------------------
//-------------------------------------------------------------

View File

@ -44,19 +44,22 @@ import java.util.Hashtable;
* StateEditable interface
* @author Andrew Selkirk
*/
public interface StateEditable {
/**
* Restore State
* @param state State
*/
public void restoreState(Hashtable state);
/**
* Store State
* @param state State
*/
public void storeState(Hashtable state);
public interface StateEditable
{
/**
* 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