Package VASSAL.configure
Class TableConfigurer
java.lang.Object
VASSAL.configure.Configurer
VASSAL.configure.TableConfigurer
-
Nested Class Summary
Nested classes/interfaces inherited from class VASSAL.configure.Configurer
Configurer.ContextLevel
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
protected char
protected TableConfigurer.Column[]
protected JPanel
protected Box
static final String
static final String
protected char
Fields inherited from class VASSAL.configure.Configurer
changeSupport, context, contextLevel, frozen, hint, key, LIST_ENTRY_HIGHLIGHT_COLOR, name, NAME_PROPERTY, noUpdate, value
-
Constructor Summary
ConstructorDescriptionTableConfigurer
(String key, String name) TableConfigurer
(String key, String name, String[] headings, Class<?>[] types) -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
int
GUI interface for setting the option in an editing windowprotected void
repack()
Repack the current configurervoid
setColDelimiter
(char c) void
setRowDelimiter
(char c) void
Set the Object value from a Stringprotected void
Methods 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:
getValueString
in classConfigurer
- Returns:
- a String representation of the Object value
-
setValue
Description copied from class:Configurer
Set the Object value from a String- Specified by:
setValue
in classConfigurer
-
setRowDelimiter
public void setRowDelimiter(char c) -
setColDelimiter
public void setColDelimiter(char c) -
getColumnCount
public int getColumnCount() -
getControls
Description copied from class:Configurer
GUI interface for setting the option in an editing window- Specified by:
getControls
in classConfigurer
-
buildControls
protected void buildControls() -
repack
protected void repack()Description copied from class:Configurer
Repack the current configurer- Overrides:
repack
in classConfigurer
-
updateContents
protected void updateContents() -
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-