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.


Constructor Index

 o MultiLineEditor()

Method Index

 o focusGained(FocusEvent)
 o focusLost(FocusEvent)
 o getAsText()
Return a string representation of the property for display.
 o getJavaInitializationString()
 o paintValue(Graphics, Rectangle)
 o setValue(Object)
 o stringToValue(String)
Converts a string to the appropriate type for the property.
 o valueToString(Object, String)
Converts the property to a string for display.

Constructors

 o MultiLineEditor
 public MultiLineEditor()

Methods

 o focusGained
 public void focusGained(FocusEvent e)
 o focusLost
 public void focusLost(FocusEvent e)
 o 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.

 o 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.
 o setValue
 public void setValue(Object value)
Overrides:
setValue in class JCTabEditor
 o getAsText
 public String getAsText()
Return a string representation of the property for display.

Overrides:
getAsText in class JCTabEditor
 o paintValue
 public void paintValue(Graphics gc,
                        Rectangle box)
Overrides:
paintValue in class JCTabEditor
 o getJavaInitializationString
 public String getJavaInitializationString()
Overrides:
getJavaInitializationString in class JCTabEditor

All Packages  Class Hierarchy  This Package  Previous  Next  Index