Package VASSAL.configure
Class TableConfigurer
java.lang.Object
VASSAL.configure.Configurer
VASSAL.configure.TableConfigurer
- All Implemented Interfaces:
ActionListener,EventListener
- Author:
- Brent Easton
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Stringprotected charprotected TableConfigurer.Column[]protected JPanelprotected Boxstatic Stringstatic Stringprotected charFields inherited from class VASSAL.configure.Configurer
changeSupport, 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, getHint, getKey, getName, getScreenSize, getValue, isFrozen, isHighlighted, removeFocusListener, removePropertyChangeListener, repack, requestFocus, setFrozen, setHighlighted, setHint, setHintKey, setLabelVisibile, 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
-