+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:
super(elem);
}
-
protected Component createComponent()
{
return null;
return 0;
}
- public Component getComponent()
+ public final Component getComponent()
{
return null;
}
* DefaultTreeCellRenderer
* @author Andrew Selkirk
*/
-public class DefaultTreeCellRenderer extends JLabel implements TreeCellRenderer {
-
+public class DefaultTreeCellRenderer
+ extends JLabel
+ implements TreeCellRenderer
+{
//-------------------------------------------------------------
// Variables --------------------------------------------------
//-------------------------------------------------------------
* 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