|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.mguennewig.pobjform.AbstractFormElement
de.mguennewig.pobjform.AbstractSpacerElement
de.mguennewig.pobjform.swing.SwingSpacerElement
public final class SwingSpacerElement
Class description goes here.
| Constructor Summary | |
|---|---|
SwingSpacerElement(PObjSwingForm form,
SpacerEntry entry)
Creates a new SwingSpacerElement. |
|
| Method Summary | |
|---|---|
javax.swing.JComponent |
getComponent()
Returns the Swing component for the input element. |
javax.swing.JComponent |
getErrorComponent()
Returns the Swing component to display any errors. |
javax.swing.JLabel |
getLabelComponent()
Returns the Swing component to display the label. |
void |
updateErrorComponent()
Updates the error messages that are displayed by the error component. |
| Methods inherited from class de.mguennewig.pobjform.AbstractSpacerElement |
|---|
getRenderAs, hasChanged, isMandatory, isVisible, setVisible, validate |
| Methods inherited from class de.mguennewig.pobjform.AbstractFormElement |
|---|
appendToList, getContainer, getEntry, getForm, getLabel, getProperty, getPullInPrefix, isPulledIn, omitRowHeader, setLabel, setProperty, setPullInPrefix, startsNewCell |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface de.mguennewig.pobjform.FormElement |
|---|
appendToList, getContainer, getEntry, getForm, getLabel, getProperty, getPullInPrefix, hasChanged, isMandatory, isPulledIn, isVisible, omitRowHeader, setLabel, setProperty, setPullInPrefix, setVisible, startsNewCell, validate |
| Constructor Detail |
|---|
public SwingSpacerElement(PObjSwingForm form,
SpacerEntry entry)
| Method Detail |
|---|
public javax.swing.JComponent getComponent()
SwingFormElement
getComponent in interface SwingFormElementpublic javax.swing.JComponent getErrorComponent()
SwingFormElementThis method must return a valid component for any element that can have an error even if currently no error exists.
getErrorComponent in interface SwingFormElementnull is acceptable.SwingFormElement.updateErrorComponent()public void updateErrorComponent()
SwingFormElementTo prevent layout changes of the dialog the error component is always present in the dialog even if no error currently exists. This method will be called every time possible error messages have been added to the form.
updateErrorComponent in interface SwingFormElementSwingFormElement.getErrorComponent(),
PObjForm.addMessage(String,de.mguennewig.pobjform.Message)public final javax.swing.JLabel getLabelComponent()
SwingFormElement
getLabelComponent in interface SwingFormElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||