|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.merlotxml.merlot.editors.SimpleTypeEditor
org.merlotxml.merlot.editors.TextEditor
Field Summary |
Fields inherited from class org.merlotxml.merlot.editors.SimpleTypeEditor |
_complexTypeEditPanel, _component, _grammarSimpleType |
Constructor Summary | |
TextEditor(ComplexTypeEditPanel complexTypeEditPanel,
GrammarSimpleType grammarSimpleType)
Constructor for TextEditor. |
Method Summary | |
void |
addActionListener(java.awt.event.ActionListener listener)
Adds the ActionListener to the JComponent if that component can accept an action listener. |
javax.swing.JComponent |
getComponent()
Gets the component for editing this simple type. |
java.lang.String |
getValue()
Retrieves the value from this component. |
void |
removeActionListener(java.awt.event.ActionListener listener)
|
void |
setEditable(boolean editable)
Sets the component to editable or read-only. |
void |
setValue(java.lang.String value)
Sets the value of the component. |
Methods inherited from class org.merlotxml.merlot.editors.SimpleTypeEditor |
getEditable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TextEditor(ComplexTypeEditPanel complexTypeEditPanel, GrammarSimpleType grammarSimpleType)
complexTypeEditPanel
- grammarSimpleType
- Method Detail |
public void addActionListener(java.awt.event.ActionListener listener)
SimpleTypeEditor
addActionListener
in class SimpleTypeEditor
public void removeActionListener(java.awt.event.ActionListener listener)
removeActionListener
in class SimpleTypeEditor
public javax.swing.JComponent getComponent()
getComponent
in class SimpleTypeEditor
public java.lang.String getValue()
SimpleTypeEditor
getValue
in class SimpleTypeEditor
public void setValue(java.lang.String value)
SimpleTypeEditor
setValue
in class SimpleTypeEditor
value
- The new value valuepublic void setEditable(boolean editable)
SimpleTypeEditor
setEditable
in class SimpleTypeEditor
editable
- The new editable value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |