|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InputElement
Class description goes here.
| Field Summary | |
|---|---|
static int |
MAX_INPUT_SIZE
The maximal drawn width for an input element. |
static int |
RENDER_AS_DISABLED
|
static int |
RENDER_AS_HIDDEN
|
static int |
RENDER_AS_HIDDEN_WITH_LABEL
|
static int |
RENDER_AS_INPUT
|
static int |
RENDER_AS_TEXT
|
| Method Summary | |
|---|---|
void |
addChangeListener(javax.swing.event.ChangeListener l)
Adds a listener for change events for this element. |
InputEntry |
getInputEntry()
|
int |
getRenderAs()
|
Type |
getType()
|
java.lang.String |
getVisualString()
Returns the human readable textual representation of the current value. |
boolean |
isHiddenInput()
Tests whether this input element is hidden. |
boolean |
isMandatory()
Tests whether data for this element must be entered. |
boolean |
isRightAligned()
Returns whether the data will be right aligned. |
boolean |
isVisible()
Tests whether this input element is hidden. |
void |
removeChangeListener(javax.swing.event.ChangeListener l)
Removed a previously added listener for change events. |
void |
setMandatory(boolean mandatory)
|
void |
setRenderAs(int renderAs)
|
void |
setRightAligned(boolean rightAligned)
Sets whether the data should be right aligned. |
| Methods inherited from interface de.mguennewig.pobjform.ValueElement |
|---|
getCurrentString, getInitialObject, getInitialString, getObject, setCurrentAsInitialState, setObject |
| Methods inherited from interface de.mguennewig.pobjform.FormElement |
|---|
appendToList, getContainer, getEntry, getForm, getLabel, getProperty, getPullInPrefix, hasChanged, isPulledIn, omitRowHeader, setLabel, setProperty, setPullInPrefix, setVisible, startsNewCell, validate |
| Field Detail |
|---|
static final int RENDER_AS_INPUT
static final int RENDER_AS_TEXT
static final int RENDER_AS_HIDDEN
static final int RENDER_AS_DISABLED
static final int RENDER_AS_HIDDEN_WITH_LABEL
static final int MAX_INPUT_SIZE
| Method Detail |
|---|
InputEntry getInputEntry()
Type getType()
void addChangeListener(javax.swing.event.ChangeListener l)
void removeChangeListener(javax.swing.event.ChangeListener l)
If the given listener is not registered anymore this method will do nothing.
int getRenderAs()
void setRenderAs(int renderAs)
boolean isMandatory()
isMandatory in interface FormElementvoid setMandatory(boolean mandatory)
boolean isRightAligned()
void setRightAligned(boolean rightAligned)
boolean isVisible()
The value RENDER_AS_HIDDEN_WITH_LABEL is classified as
visible.
isVisible in interface FormElementboolean isHiddenInput()
RENDER_AS_HIDDEN_WITH_LABEL is classified as
invisible.
java.lang.String getVisualString()
This is the value used to write the current value into the UI element.
It is never null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||