Class TableConfigurer
java.lang.Object
VASSAL.configure.Configurer
VASSAL.configure.TableConfigurer
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class VASSAL.configure.Configurer
Configurer.ContextLevel -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprotected charprotected TableConfigurer.Column[]protected JPanelprotected Boxstatic final Stringstatic final Stringprotected charFields inherited from class VASSAL.configure.Configurer
changeSupport, context, contextLevel, frozen, hint, key, LIST_ENTRY_HIGHLIGHT_COLOR, name, NAME_PROPERTY, noUpdate, value -
Constructor Summary
ConstructorsConstructorDescriptionTableConfigurer(String key, String name) TableConfigurer(String key, String name, String[] headings, Class<?>[] types) -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidintGUI interface for setting the option in an editing windowprotected voidrepack()Repack the current configurervoidsetColDelimiter(char c) voidsetRowDelimiter(char c) voidSet the Object value from a Stringprotected voidMethods inherited from class VASSAL.configure.Configurer
addFocusListener, addPropertyChangeListener, fireUpdate, getContext, getContextLevel, getHint, getKey, getName, getScreenSize, getValue, initCustomControls, isFrozen, isHighlighted, isPieceContext, removeFocusListener, removePropertyChangeListener, repack, requestFocus, setContext, setContext, setContext, setContextLevel, setEnabled, setFrozen, setHighlighted, setHint, setHintKey, setLabelVisibile, setLabelVisible, setName, setValue
-
Field Details
-
ADD_ACTION
-
DEL_ACTION
-
INS_ACTION
-
controls
-
contents
-
columns
-
rowDelimiter
protected char rowDelimiter -
colDelimiter
protected char colDelimiter
-
-
Constructor Details
-
TableConfigurer
-
TableConfigurer
-
-
Method Details
-
getValueString
- Specified by:
getValueStringin classConfigurer- Returns:
- a String representation of the Object value
-
setValue
Description copied from class:ConfigurerSet the Object value from a String- Specified by:
setValuein classConfigurer
-
setRowDelimiter
public void setRowDelimiter(char c) -
setColDelimiter
public void setColDelimiter(char c) -
getColumnCount
public int getColumnCount() -
getControls
Description copied from class:ConfigurerGUI interface for setting the option in an editing window- Specified by:
getControlsin classConfigurer
-
buildControls
protected void buildControls() -
repack
protected void repack()Description copied from class:ConfigurerRepack the current configurer- Overrides:
repackin classConfigurer
-
updateContents
protected void updateContents() -
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-