Package VASSAL.build.module.map
Class StackExpander
java.lang.Object
java.awt.event.MouseAdapter
VASSAL.build.module.map.StackExpander
- All Implemented Interfaces:
MouseListener,MouseMotionListener,MouseWheelListener,EventListener,Buildable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a child component.voidAdds this component to its parent.voidBuild the object from the XML representation of the BuildablegetBuildElement(Document doc)voidMethods inherited from class java.awt.event.MouseAdapter
mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseWheelMoved
-
Field Details
-
map
-
-
Constructor Details
-
StackExpander
public StackExpander()
-
-
Method Details
-
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. -
add
Description copied from interface:BuildableAdds a child component. Both this method andBuildable.addTo(VASSAL.build.Buildable)are invoked when adding a child to a parent -
getBuildElement
- Specified by:
getBuildElementin interfaceBuildable- Parameters:
doc- XML file- Returns:
- an XML element from which this component can be built
-
build
Description copied from interface:BuildableBuild the object from the XML representation of the Buildable -
mouseReleased
- Specified by:
mouseReleasedin interfaceMouseListener- Overrides:
mouseReleasedin classMouseAdapter
-