|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--VASSAL.build.AbstractBuildable
|
+--VASSAL.build.AbstractConfigurable
|
+--VASSAL.build.Widget
|
+--VASSAL.build.module.ChartWindow
A top-level Widget for displaying Charts
| Nested Class Summary |
| Nested classes inherited from class VASSAL.build.Widget |
Widget.MyCellRenderer |
| Nested classes inherited from class VASSAL.build.AutoConfigurable |
AutoConfigurable.Util |
| Field Summary | |
static java.lang.String |
HOTKEY
|
static java.lang.String |
NAME
|
| Fields inherited from class VASSAL.build.Widget |
buildElement, parent |
| Fields inherited from class VASSAL.build.AbstractConfigurable |
changeSupport, config, name |
| Fields inherited from class VASSAL.build.AbstractBuildable |
buildComponents |
| Fields inherited from interface VASSAL.build.Configurable |
NAME_PROPERTY |
| Constructor Summary | |
ChartWindow()
|
|
| Method Summary | |
void |
add(Buildable b)
Adds a child component. |
void |
addTo(Buildable b)
Expects to be added to a GameModule. |
java.lang.Class[] |
getAllowableConfigureComponents()
The allowable Configurable components of a Widget are the same as its parent |
java.lang.String[] |
getAttributeDescriptions()
Return an array of Strings describing the attributes of this object. |
java.lang.String[] |
getAttributeNames()
The attributes of a ChartWindow are: NAME Appears as the name of the button in the toolbar and the window itself
HOTKEY for the hotkey equivalent for the button |
java.lang.Class[] |
getAttributeTypes()
Return the Class for the attributes of this object. |
java.lang.String |
getAttributeValueString(java.lang.String name)
Called by the Widget.getBuildElement(org.w3c.dom.Document) method to write the
attributes into an XML element |
java.awt.Component |
getComponent()
|
static java.lang.String |
getConfigureTypeName()
|
HelpFile |
getHelpFile()
|
void |
remove(Buildable b)
Remove a Buildable object from this object |
void |
removeFrom(Buildable b)
Remove this component from its parent |
void |
setAttribute(java.lang.String key,
java.lang.Object val)
Called by the Widget.build(org.w3c.dom.Element) method, where value is the
String value read by the XML attribute. |
| Methods inherited from class VASSAL.build.Widget |
build, getBuildElement, getConfigureComponents, getParent, rebuild |
| Methods inherited from class VASSAL.build.AbstractConfigurable |
addPropertyChangeListener, getAttributeVisibility, getConfigureName, getConfigurer, setConfigureName |
| Methods inherited from class VASSAL.build.AbstractBuildable |
getBuildComponents, getComponents |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String NAME
public static final java.lang.String HOTKEY
| Constructor Detail |
public ChartWindow()
| Method Detail |
public void addTo(Buildable b)
addTo in interface BuildableaddTo in class Widgetpublic void removeFrom(Buildable b)
Configurable
removeFrom in interface ConfigurableremoveFrom in class Widget
public void setAttribute(java.lang.String key,
java.lang.Object val)
AutoConfigurableBuildable.build(org.w3c.dom.Element) method, where value is the
String value read by the XML attribute.
Can also be called with Object value to set the attribute.
setAttribute in interface AutoConfigurablesetAttribute in class AbstractBuildablekey - the name of the attribute. Will be one of those
listed in AbstractBuildable.getAttributeNames()public java.lang.String[] getAttributeNames()
NAME Appears as the name of the button in the toolbar and the window itself
HOTKEY for the hotkey equivalent for the button
getAttributeNames in interface AutoConfigurablegetAttributeNames in class AbstractBuildablepublic java.lang.String getAttributeValueString(java.lang.String name)
AutoConfigurableBuildable.getBuildElement(org.w3c.dom.Document) method to write the
attributes into an XML element
getAttributeValueString in interface AutoConfigurablegetAttributeValueString in class AbstractBuildablename - the name of the attribute. Will be one of those
listed in AbstractBuildable.getAttributeNames()public java.lang.Class[] getAllowableConfigureComponents()
Widget
getAllowableConfigureComponents in interface ConfigurablegetAllowableConfigureComponents in class Widgetpublic void add(Buildable b)
BuildableBuildable.addTo(VASSAL.build.Buildable) are
invoked when adding a child to a parent
add in interface Buildableadd in class AbstractBuildablepublic void remove(Buildable b)
AbstractConfigurable
remove in interface Configurableremove in class AbstractConfigurablepublic java.awt.Component getComponent()
getComponent in class WidgetBuildable.build(org.w3c.dom.Element) methodpublic static java.lang.String getConfigureTypeName()
public java.lang.String[] getAttributeDescriptions()
AbstractConfigurableAbstractBuildable.getAttributeNames()
getAttributeDescriptions in interface AutoConfigurablegetAttributeDescriptions in class AbstractConfigurablepublic java.lang.Class[] getAttributeTypes()
AbstractConfigurableAbstractBuildable.getAttributeNames()
getAttributeTypes in interface AutoConfigurablegetAttributeTypes in class AbstractConfigurablepublic HelpFile getHelpFile()
getHelpFile in interface ConfigurablegetHelpFile in class Widget
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||