Class ChatServerControls
java.lang.Object
VASSAL.search.AbstractImageFinder
VASSAL.build.AbstractBuildable
VASSAL.chat.ui.ChatServerControls
- All Implemented Interfaces:
Buildable,PropertyNameSource,ValidityChecker,Auditable,ImageSearchTarget
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BasicChatControlsInitializerprotected ChatServerConnectionprotected JButtonprotected Stringprotected JPanelprotected RoomTreeprotected JButtonprotected JTextFieldprotected JButtonprotected JLabelprotected ChatControlsInitializerprotected RoomTreeprotected SplitPaneprotected ComponentSplitter.SplitPaneDeprecated, for removal: This API element is subject to removal in a future version.protected JToolBarFields inherited from class VASSAL.build.AbstractBuildable
buildComponents, validator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidAdds this component to its parent.String[]Lists all the buildFile (XML) attribute names for this component.voidvoidsetAttribute(String name, Object value) Sets a buildFile (XML) attribute value for this component.voidvoidsetRoomControlsVisible(boolean visible) voidvoidupdateClientDisplay(Icon icon, String text) Methods inherited from class VASSAL.build.AbstractBuildable
add, addImageNamesRecursively, build, buildString, getAllDescendantComponentsOf, getAncestor, getBuildables, getBuildComponents, getBuildElement, getComponents, getComponentsOf, getNonFolderAncestor, getPropertyNames, setAncestor, validateMethods inherited from class VASSAL.search.AbstractImageFinder
addLocalImageNames, getAllImageNames, getLocalImageNamesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface VASSAL.script.expression.Auditable
getComponentName, getComponentTypeNameMethods inherited from interface VASSAL.build.Buildable
isMandatory, isMovable, isUnique
-
Field Details
-
currentRoom
-
newRoom
-
newRoomLabel
-
toolbar
-
roomTree
-
newRoomButton
-
launch
-
client
-
controlPanel
-
oldClient
-
basicControls
-
configServerButton
-
configServerText
-
splitter
Deprecated, for removal: This API element is subject to removal in a future version. -
splitPane
-
-
Constructor Details
-
ChatServerControls
public ChatServerControls()
-
-
Method Details
-
updateClientDisplay
-
getExtendedControls
-
addTo
Description copied from interface:BuildableAdds this component to its parent. In order to make Buildable objects extensible, the child is responsible for adding itself to the parent. That way, Buildable subcomponents can be defined in an extension package without needing to modify the containing class.- Parameters:
b- parent Buildable to add this component to as a subcomponent.
-
toggleVisible
public void toggleVisible() -
getControls
-
setClient
-
getClient
-
getAttributeNames
Description copied from class:AbstractBuildableLists all the buildFile (XML) attribute names for this component. If this component is ALSO anAbstractConfigurable, then this list of attributes determines the appropriate attribute order forAbstractConfigurable.getAttributeDescriptions()andAbstractConfigurable.getAttributeTypes().- Specified by:
getAttributeNamesin classAbstractBuildable- Returns:
- a list of all buildFile (XML) attribute names for this component
-
setAttribute
Description copied from class:AbstractBuildableSets a buildFile (XML) attribute value for this component. Thekeyparameter will be one of those listed inAbstractBuildable.getAttributeNames(). If thevalueparameter is a String, it will be the value returned byAbstractBuildable.getAttributeValueString(java.lang.String)for the samekey. If the implementing class extendsAbstractConfigurable, thenvaluewill be an instance of the corresponding Class listed inAbstractConfigurable.getAttributeTypes()- Specified by:
setAttributein classAbstractBuildable- Parameters:
name- the name of the attribute. Will be one of those listed inAbstractBuildable.getAttributeNames()value- If thevalueparameter is a String, it will be the value returned byAbstractBuildable.getAttributeValueString(java.lang.String)for the samekey. If the implementing class extendsAbstractConfigurable, thenvaluecan also be an instance of the corresponding Class listed inAbstractConfigurable.getAttributeTypes()
-
getAttributeValueString
- Specified by:
getAttributeValueStringin classAbstractBuildable- Parameters:
name- the name of the attribute. Will be one of those listed inAbstractBuildable.getAttributeNames()- Returns:
- a String representation of the XML buildFile attribute with the given name. When initializing a module,
this String value will loaded from the XML and passed to
AbstractBuildable.setAttribute(java.lang.String, java.lang.Object). It is also frequently used for checking the current value of an attribute.
-
getToolbar
-
getCurrentRoom
-
getNewRoom
-
getNewRoomButton
-
addExtendedNewRoomHandler
-
removeExtendedNewRoomHandler
-
setRoomControlsVisible
public void setRoomControlsVisible(boolean visible) -
getRoomTree
-