| 
 | EchoPoint 1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo.Component
nextapp.echo.text.TextComponent
nextapp.echo.TextField
echopoint.TextField
echopoint.TextField is derived from the nextapp.echo.TextField
 and adds extra functionality such as validation, better tool tips and
 Borderable support.
| Nested Class Summary | 
| Nested classes inherited from class echopoint.positionable.Borderable | 
| Borderable.NestedStyleInfo | 
| Nested classes inherited from class echopoint.positionable.MouseCursorable | 
| MouseCursorable.NestedStyleInfo | 
| Field Summary | 
| Fields inherited from class nextapp.echo.TextField | 
| ACTION_COMMAND_CHANGED_PROPERTY, COLUMN_UNITS_CHANGED_PROPERTY, COLUMNS_CHANGED_PROPERTY, MAXIMUM_LENGTH_CHANGED_PROPERTY, STYLE_MAXIMUM_LENGTH | 
| Fields inherited from class nextapp.echo.text.TextComponent | 
| BORDER_COLOR_CHANGED_PROPERTY, BORDER_DEFAULT, BORDER_INSET, BORDER_NONE, BORDER_SIZE_CHANGED_PROPERTY, BORDER_SOLID, BORDER_STYLE_CHANGED_PROPERTY, CHARACTER_UNITS, DOCUMENT_CHANGED_PROPERTY, EDITABLE_CHANGED_PROPERTY, HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY, PERCENT_UNITS, PIXEL_UNITS, STYLE_BORDER_COLOR, STYLE_BORDER_SIZE, STYLE_BORDER_STYLE, STYLE_COLUMNS, STYLE_HORIZONTAL_ALIGNMENT, STYLE_LINE_WRAP, STYLE_ROWS, TEXT_CHANGED_PROPERTY | 
| Fields inherited from class nextapp.echo.Component | 
| BACKGROUND_CHANGED_PROPERTY, CHILDREN_CHANGED_PROPERTY, ENABLED_CHANGED_PROPERTY, FONT_CHANGED_PROPERTY, FOREGROUND_CHANGED_PROPERTY, IDENTIFIER_CHANGED_PROPERTY, listenerList, LOCALE_CHANGED_PROPERTY, MODEL_CHANGED_PROPERTY, STYLE_BACKGROUND, STYLE_FONT, STYLE_FOREGROUND, UPDATE_PROPERTY, VISIBLE_CHANGED_PROPERTY | 
| Fields inherited from interface echopoint.positionable.MouseCursorable | 
| borderStyleSymbolics, CURSOR_AUTO, CURSOR_CROSSHAIR, CURSOR_CUSTOM_URI, CURSOR_DEFAULT, CURSOR_E_RESIZE, CURSOR_HELP, CURSOR_MOVE, CURSOR_N_RESIZE, CURSOR_NE_RESIZE, CURSOR_NW_RESIZE, CURSOR_POINTER, CURSOR_S_RESIZE, CURSOR_SE_RESIZE, CURSOR_SW_RESIZE, CURSOR_TEXT, CURSOR_W_RESIZE, CURSOR_WAIT, STYLE_MOUSE_CURSOR, STYLE_MOUSE_CURSOR_URI | 
| Fields inherited from interface nextapp.echo.ToolTipSupport | 
| TOOL_TIP_TEXT_CHANGED_PROPERTY | 
| Constructor Summary | |
| TextField()Creates a new text field. | |
| TextField(nextapp.echo.text.Document document)Creates a new text field with the given document model. | |
| TextField(nextapp.echo.text.Document document,
          java.lang.String text,
          int columns)Creates a new text field with the given document model, text and number of columns. | |
| TextField(int columns)Creates a new text field with the given number of columns. | |
| TextField(java.lang.String text)Creates a new text field with the given text. | |
| TextField(java.lang.String text,
          int columns)Creates a new text field with the given text and number of columns. | |
| Method Summary | |
|  void | applyStyle(nextapp.echo.Style style)This will apply the borderColor, borderWidth and borderStyle properties first followed by the left, top, right and bottom borer properties. | 
|  nextapp.echo.Color | getBorderColor() | 
|  int | getBorderSize() | 
|  int | getBorderStyle()Returns the border style of the Borderable. | 
|  nextapp.echo.Color | getBottomBorderColor() | 
|  int | getBottomBorderSize() | 
|  int | getBottomBorderStyle() | 
|  nextapp.echo.Color | getLeftBorderColor() | 
|  int | getLeftBorderSize() | 
|  int | getLeftBorderStyle() | 
|  int | getMouseCursor()Returns the current mouse cursor in use. | 
|  java.lang.String | getMouseCursorURI() | 
|  nextapp.echo.Color | getRightBorderColor() | 
|  int | getRightBorderSize() | 
|  int | getRightBorderStyle() | 
|  ValidationRuleSet | getRuleSet()Returns the ValidationRuleSet used for validation. | 
|  ToolTipPopUp | getToolTipPopUp()Returns the ToolTipPopUpcomponent used to 
 configure the rich tool tip support. | 
|  java.lang.String | getToolTipText() | 
|  nextapp.echo.Color | getTopBorderColor() | 
|  int | getTopBorderSize() | 
|  int | getTopBorderStyle() | 
|  java.lang.Object | set(java.lang.reflect.Field field,
    java.lang.Object newValue) | 
|  void | setBorderColor(nextapp.echo.Color newBorderColor)Sets the Colorof theBorderable'sborder. | 
|  void | setBorderSize(int newBorderSize)Sets the size of the Borderables'sborder. | 
|  void | setBorderStyle(int borderStyle)Sets the border style of the Borderable. | 
|  void | setBottomBorderColor(nextapp.echo.Color borderColor)Sets the Colorof theBorderable'sbottom border. | 
|  void | setBottomBorderSize(int borderSize)Sets the size of the Borderables'sbottom border. | 
|  void | setBottomBorderStyle(int borderStyle)Sets the border style of the Borderables'sbottom border. | 
|  void | setLeftBorderColor(nextapp.echo.Color borderColor)Sets the Colorof theBorderable'sleft border. | 
|  void | setLeftBorderSize(int borderSize)Sets the size of the Borderables'sleft border. | 
|  void | setLeftBorderStyle(int borderStyle)Sets the border style of the Borderables'sleft border. | 
|  void | setMouseCursor(int mouseCursor)Sets the mouse cursor to use. | 
|  void | setMouseCursorURI(java.lang.String mouseCursorURI)Sets the URI to a custom platform mouse cursor. | 
|  void | setRightBorderColor(nextapp.echo.Color borderColor)Sets the Colorof theBorderable'sright border. | 
|  void | setRightBorderSize(int borderSize)Sets the size of the Borderables'sright border. | 
|  void | setRightBorderStyle(int borderStyle)Sets the border style of the Borderables'sright border. | 
|  void | setRuleSet(ValidationRuleSet validationRuleSet)Sets the ValidationRuleSet to use for validation | 
|  void | setToolTipText(java.lang.String newValue) | 
|  void | setTopBorderColor(nextapp.echo.Color borderColor)Sets the Colorof theBorderable'stop border. | 
|  void | setTopBorderSize(int borderSize)Sets the size of the Borderables'stop border. | 
|  void | setTopBorderStyle(int borderStyle)Sets the border style of the Borderables'stop border. | 
|  void | validate() | 
| Methods inherited from class nextapp.echo.TextField | 
| addActionListener, fireActionEvent, getActionCommand, getColumns, getColumnUnits, getMaximumLength, hasActionListeners, removeActionListener, setActionCommand, setColumns, setColumnUnits, setMaximumLength | 
| Methods inherited from class nextapp.echo.text.TextComponent | 
| getDocument, getHorizontalAlignment, getText, isEditable, setDocument, setEditable, setHorizontalAlignment, setText | 
| Methods inherited from class nextapp.echo.Component | 
| add, add, addHierarchyListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getComponent, getComponentCount, getComponents, getEchoInstance, getFont, getForeground, getIdentifier, getLocale, getParent, indexOf, init, isAncestorOf, isEnabled, isRegistered, isShowing, isVisible, remove, remove, removeAll, removeHierarchyListener, removePropertyChangeListener, setBackground, setEnabled, setFont, setForeground, setIdentifier, setLocale, setVisible, update | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface echopoint.validation.Validateable | 
| getIdentifier, getLocale, getText | 
| Constructor Detail | 
public TextField()
public TextField(java.lang.String text)
text - The initial text in the text field.public TextField(int columns)
columns - The number of columns that will be displayed in the text
        field.
public TextField(java.lang.String text,
                 int columns)
text - The initial text in the text field.columns - The number of columns that will be displayed in the text
        field.public TextField(nextapp.echo.text.Document document)
document - The model for this text field.
public TextField(nextapp.echo.text.Document document,
                 java.lang.String text,
                 int columns)
document - The model for this text field.text - The initial text in the text field.columns - The number of columns that will be displayed in the text
        field.| Method Detail | 
public ValidationRuleSet getRuleSet()
getRuleSet in interface ValidateableValidateable.getRuleSet()public void setRuleSet(ValidationRuleSet validationRuleSet)
validationRuleSet - - the ValidationRuleSet to use for validationValidateable.getRuleSet()public nextapp.echo.Color getBorderColor()
getBorderColor in interface BorderableBorderable.getBorderColor()public int getBorderSize()
getBorderSize in interface BorderableBorderable.getBorderSize()public int getBorderStyle()
Borderable
getBorderStyle in interface BorderableBorderable.getBorderStyle()public void setBorderColor(nextapp.echo.Color newBorderColor)
BorderableColor of the Borderable's border.  
 
 This will also set the left, top, right and bottom border color.
setBorderColor in interface BorderableBorderable.setBorderColor(nextapp.echo.Color)public void setBorderSize(int newBorderSize)
BorderableBorderables's border.
 
 This will also set the left, top, right and bottom border size.
setBorderSize in interface BorderableBorderable.setBorderSize(int)public void setBorderStyle(int borderStyle)
Borderable
setBorderStyle in interface BorderableBorderable.setBorderStyle(int)public nextapp.echo.Color getLeftBorderColor()
getLeftBorderColor in interface BorderableColor of the Borderable's left border.Borderable.getLeftBorderColor()public int getLeftBorderSize()
getLeftBorderSize in interface BorderableBorderables's left border.Borderable.getLeftBorderSize()public int getLeftBorderStyle()
getLeftBorderStyle in interface BorderableBorderables's left border.Borderable.getLeftBorderStyle()public void setLeftBorderColor(nextapp.echo.Color borderColor)
BorderableColor of the Borderable's left border.
setLeftBorderColor in interface BorderableBorderable.setLeftBorderColor(nextapp.echo.Color)public void setLeftBorderSize(int borderSize)
BorderableBorderables's left border.
setLeftBorderSize in interface BorderableBorderable.setLeftBorderSize(int)public void setLeftBorderStyle(int borderStyle)
BorderableBorderables's left border.
setLeftBorderStyle in interface BorderableBorderable.setLeftBorderStyle(int)public nextapp.echo.Color getTopBorderColor()
getTopBorderColor in interface BorderableColor of the Borderable's top border.Borderable.getTopBorderColor()public int getTopBorderSize()
getTopBorderSize in interface BorderableBorderables's top border.Borderable.getTopBorderSize()public int getTopBorderStyle()
getTopBorderStyle in interface BorderableBorderables's top border.Borderable.getTopBorderStyle()public void setTopBorderColor(nextapp.echo.Color borderColor)
BorderableColor of the Borderable's top border.
setTopBorderColor in interface BorderableBorderable.setTopBorderColor(nextapp.echo.Color)public void setTopBorderSize(int borderSize)
BorderableBorderables's top border.
setTopBorderSize in interface BorderableBorderable.setTopBorderSize(int)public void setTopBorderStyle(int borderStyle)
BorderableBorderables's top border.
setTopBorderStyle in interface BorderableBorderable.setTopBorderStyle(int)public nextapp.echo.Color getRightBorderColor()
getRightBorderColor in interface BorderableColor of the Borderable's right border.Borderable.getRightBorderColor()public int getRightBorderSize()
getRightBorderSize in interface BorderableBorderables's right border.Borderable.getRightBorderSize()public int getRightBorderStyle()
getRightBorderStyle in interface BorderableBorderables's right border.Borderable.getRightBorderStyle()public void setRightBorderColor(nextapp.echo.Color borderColor)
BorderableColor of the Borderable's right border.
setRightBorderColor in interface BorderableBorderable.setRightBorderColor(nextapp.echo.Color)public void setRightBorderSize(int borderSize)
BorderableBorderables's right border.
setRightBorderSize in interface BorderableBorderable.setRightBorderSize(int)public void setRightBorderStyle(int borderStyle)
BorderableBorderables's right border.
setRightBorderStyle in interface BorderableBorderable.setRightBorderStyle(int)public nextapp.echo.Color getBottomBorderColor()
getBottomBorderColor in interface BorderableColor of the Borderable's bottom border.Borderable.getBottomBorderColor()public int getBottomBorderSize()
getBottomBorderSize in interface BorderableBorderables's bottom border.Borderable.getBottomBorderSize()public int getBottomBorderStyle()
getBottomBorderStyle in interface BorderableBorderables's bottom border.Borderable.getBottomBorderStyle()public void setBottomBorderColor(nextapp.echo.Color borderColor)
BorderableColor of the Borderable's bottom border.
setBottomBorderColor in interface BorderableBorderable.setBottomBorderColor(nextapp.echo.Color)public void setBottomBorderSize(int borderSize)
BorderableBorderables's bottom border.
setBottomBorderSize in interface BorderableBorderable.setBottomBorderSize(int)public void setBottomBorderStyle(int borderStyle)
BorderableBorderables's bottom border.
setBottomBorderStyle in interface BorderableBorderable.setBottomBorderStyle(int)public ToolTipPopUp getToolTipPopUp()
ToolTipPopUpSupportToolTipPopUp component used to 
 configure the rich tool tip support.
getToolTipPopUp in interface ToolTipPopUpSupportToolTipPopUpSupport.getToolTipPopUp()public java.lang.String getToolTipText()
getToolTipText in interface nextapp.echo.ToolTipSupportToolTipSupport.getToolTipText()public void setToolTipText(java.lang.String newValue)
setToolTipText in interface nextapp.echo.ToolTipSupportToolTipSupport.setToolTipText(java.lang.String)public int getMouseCursor()
MouseCursorable
getMouseCursor in interface MouseCursorableMouseCursorable.getMouseCursor()public java.lang.String getMouseCursorURI()
getMouseCursorURI in interface MouseCursorableMouseCursorable.getMouseCursorURI()public void setMouseCursor(int mouseCursor)
MouseCursorable
setMouseCursor in interface MouseCursorablemouseCursor - - the mouse cursor to useMouseCursorable.setMouseCursor(int)public void setMouseCursorURI(java.lang.String mouseCursorURI)
MouseCursorable
setMouseCursorURI in interface MouseCursorablemouseCursorURI - the URI to a custom platform mouse cursor.MouseCursorable.setMouseCursorURI(java.lang.String)public void validate()
Component.validate()public void applyStyle(nextapp.echo.Style style)
Borderable
applyStyle in interface BorderableBorderable.applyStyle(nextapp.echo.Style)
public java.lang.Object set(java.lang.reflect.Field field,
                            java.lang.Object newValue)
                     throws java.lang.Exception
java.lang.ExceptionReflectionSetter.set(Field, Object)| 
 | EchoPoint 1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||