|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
schmitzm.swing.InputOption<SimpleFeatureType>
schmitzm.geotools.gui.FeatureTypeInputOption
public class FeatureTypeInputOption
Eingabe-Option zur Definition eines SimpleFeatureType
im
MultipleOptionPane
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
JPanel.AccessibleJPanel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
protected String |
fTypeName
Beinhaltet den Namen der beim Erzeugen des SimpleFeatureType
gesetzt wird. |
protected MutableTable |
inpTable
Beinhaltet die Tabelle, in der die Attribute eingegeben werden. |
protected FeatureTypeBuilderTableModel |
inpTableModel
Beinhaltet das Tabellen-Modell, in dem die Attribute verwaltet werden. |
Fields inherited from class schmitzm.swing.InputOption |
---|
descLabel, inpComp, invalidInputMess, OPTION_COMPONENT |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
FeatureTypeInputOption(String label,
boolean inputNeeded)
Erzeugt einen neue Eingabe-Option. |
|
FeatureTypeInputOption(String label,
boolean inputNeeded,
SimpleFeatureType fType)
Erzeugt einen neue Eingabe-Option. |
Method Summary | |
---|---|
protected JScrollPane |
createInputComponent()
Erzeugt eine neue Instanz der Eingabe-Komponente. z.B. ein Text-Eingabefeld oder eine Combo-Box. |
protected SimpleFeatureType |
performGetValue()
Liefert den aktuellen in der Tabelle definierten SimpleFeatureType . |
protected boolean |
performIsInputEmpty()
Prueft, ob ein Attribut definiert ist. |
protected boolean |
performIsInputValid()
Prueft, ob die aktuelle Eingabe leer ist. |
protected boolean |
performSetValue(SimpleFeatureType newValue)
Initalisiert die Tabelle mit einem neuen SimpleFeatureType . |
Methods inherited from class schmitzm.swing.InputOption |
---|
addInputOptionListener, fireFocusGained, fireFocusLost, fireOptionChanged, getDescriptionLabel, getInputComponent, getInvalidInputMessage, getLabel, getValue, grabFocus, inputEmpty, inputNeeded, isInputValid, removeInputOptionListener, setEnabled, setInputNeeded, setToolTipText, setValue |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected MutableTable inpTable
protected FeatureTypeBuilderTableModel inpTableModel
protected String fTypeName
SimpleFeatureType
gesetzt wird.
Constructor Detail |
---|
public FeatureTypeInputOption(String label, boolean inputNeeded)
label
- UeberschriftinputNeeded
- bestimmt, ob eine Eingabe erforderlich istpublic FeatureTypeInputOption(String label, boolean inputNeeded, SimpleFeatureType fType)
label
- UeberschriftinputNeeded
- bestimmt, ob eine Eingabe erforderlich istfType
- initalial dargestellter SimpleFeatureType
(kann null
sein)Method Detail |
---|
protected JScrollPane createInputComponent()
createInputComponent
in class InputOption<SimpleFeatureType>
protected SimpleFeatureType performGetValue()
SimpleFeatureType
.
performGetValue
in class InputOption<SimpleFeatureType>
protected boolean performSetValue(SimpleFeatureType newValue)
SimpleFeatureType
.
performSetValue
in class InputOption<SimpleFeatureType>
newValue
- neuer SimpleFeatureType
true
protected boolean performIsInputEmpty()
performIsInputEmpty
in class InputOption<SimpleFeatureType>
protected boolean performIsInputValid()
FeatureTypeBuilderTableModel.createFeatureType()
eine Exception wirft.
performIsInputValid
in class InputOption<SimpleFeatureType>
true
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |