All Packages Class Hierarchy This Package Previous Next Index
Class jclass.beans.MultiLineEditor
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----jclass.bwt.JCContainer
|
+----jclass.beans.JCTabEditor
|
+----jclass.beans.MultiLineEditor
- public class MultiLineEditor
- extends JCTabEditor
- implements FocusListener
Converts a multi-line string into a list of string.
-
MultiLineEditor()
-
-
focusGained(FocusEvent)
-
-
focusLost(FocusEvent)
-
-
getAsText()
- Return a string representation of the property for display.
-
getJavaInitializationString()
-
-
paintValue(Graphics, Rectangle)
-
-
setValue(Object)
-
-
stringToValue(String)
-
Converts a string to the appropriate type for the property.
-
valueToString(Object, String)
- Converts the property to a string for display.
MultiLineEditor
public MultiLineEditor()
focusGained
public void focusGained(FocusEvent e)
focusLost
public void focusLost(FocusEvent e)
stringToValue
public Object stringToValue(String s)
- Converts a string to the appropriate type for the property.
Override this method to convert a multi-line string of the property
that user enters into the appropriate type for the property.
valueToString
public String valueToString(Object value,
String delimiter)
- Converts the property to a string for display.
- Parameters:
- value - Value for the property
- delimiter - New-line delimiter.
setValue
public void setValue(Object value)
- Overrides:
- setValue in class JCTabEditor
getAsText
public String getAsText()
- Return a string representation of the property for display.
- Overrides:
- getAsText in class JCTabEditor
paintValue
public void paintValue(Graphics gc,
Rectangle box)
- Overrides:
- paintValue in class JCTabEditor
getJavaInitializationString
public String getJavaInitializationString()
- Overrides:
- getJavaInitializationString in class JCTabEditor
All Packages Class Hierarchy This Package Previous Next Index