|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.jaspira.propertybrowser.editor.AbstractPropertyEditor
org.openbp.jaspira.propertybrowser.editor.standard.MultiLineStringEditor
public class MultiLineStringEditor
Editor for multi line strings.
| Field Summary | |
|---|---|
protected javax.swing.JTextArea |
textArea
Text area |
| Fields inherited from class org.openbp.jaspira.propertybrowser.editor.AbstractPropertyEditor |
|---|
component, listener, object, owner, parameterParser, params, propertyBrowser, propertyName, readonly, validator, value, valueChanged, valueLoaded |
| Fields inherited from interface org.openbp.common.generic.Copyable |
|---|
COPY_DEEP, COPY_FIRST_LEVEL, COPY_SHALLOW |
| Constructor Summary | |
|---|---|
MultiLineStringEditor()
Constructor. |
|
| Method Summary | |
|---|---|
void |
changedUpdate(javax.swing.event.DocumentEvent e)
Gives notification that an attribute or set of attributes changed. |
void |
createComponent()
Creates the editor component of the property editor. |
void |
focusLost(java.awt.event.FocusEvent e)
Invoked when a component loses the keyboard focus. |
java.lang.Object |
getComponentValue()
Gets the current editor component value. |
void |
highlight(boolean on)
Highlights the content of the component. |
void |
insertUpdate(javax.swing.event.DocumentEvent e)
Gives notification that there was an insert into the document. |
void |
keyPressed(java.awt.event.KeyEvent e)
Invoked when a key has been pressed. |
protected void |
parseParams(EditorParameterParser parser)
Parses the editor parameters specified in the property descriptor. |
void |
removeUpdate(javax.swing.event.DocumentEvent e)
Gives notification that a portion of the document has been removed. |
void |
setComponentValue()
Sets the display component value. |
| Methods inherited from class org.openbp.jaspira.propertybrowser.editor.AbstractPropertyEditor |
|---|
clone, copyFrom, focusGained, forwardKeyEvent, getComponent, getObject, getOwner, getParameterParser, getParams, getPropertyBrowser, getPropertyComponent, getPropertyName, getSafeString, getValidator, getValue, initialize, initializeComponent, isReadonly, keyReleased, keyTyped, loadProperty, propertyChanged, resetComponentDisplay, resetProperty, saveProperty, setObject, setOwner, setParams, setPropertyBrowser, setPropertyName, setReadonly, setValidator, setValue, validateProperty |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected javax.swing.JTextArea textArea
| Constructor Detail |
|---|
public MultiLineStringEditor()
| Method Detail |
|---|
protected void parseParams(EditorParameterParser parser)
parseParams in class AbstractPropertyEditorparser - Editor parameter parser or null if there are no parameters definedpublic void createComponent()
createComponent in class AbstractPropertyEditorpublic java.lang.Object getComponentValue()
getComponentValue in class AbstractPropertyEditorpublic void setComponentValue()
setComponentValue in class AbstractPropertyEditorpublic void highlight(boolean on)
highlight in class AbstractPropertyEditoron - true Turns the highlight on if the component has the focuspublic void insertUpdate(javax.swing.event.DocumentEvent e)
insertUpdate in interface javax.swing.event.DocumentListenere - Document eventpublic void removeUpdate(javax.swing.event.DocumentEvent e)
removeUpdate in interface javax.swing.event.DocumentListenere - Document eventpublic void changedUpdate(javax.swing.event.DocumentEvent e)
changedUpdate in interface javax.swing.event.DocumentListenere - Document eventpublic void focusLost(java.awt.event.FocusEvent e)
focusLost in interface java.awt.event.FocusListenerfocusLost in class AbstractPropertyEditorpublic void keyPressed(java.awt.event.KeyEvent e)
keyPressed in interface java.awt.event.KeyListenerkeyPressed in class AbstractPropertyEditor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||