Package VASSAL.build.module.map
Class ForwardToKeyBuffer
java.lang.Object
VASSAL.build.module.map.ForwardToKeyBuffer
- All Implemented Interfaces:
KeyListener,EventListener,Buildable
public class ForwardToKeyBuffer extends Object implements Buildable, KeyListener
-
Constructor Summary
Constructors Constructor Description ForwardToKeyBuffer() -
Method Summary
Modifier and Type Method Description voidadd(Buildable b)Adds a child component.voidaddTo(Buildable parent)Adds this component to its parent.voidbuild(Element e)Build the objectElementgetBuildElement(Document doc)voidkeyPressed(KeyEvent e)voidkeyReleased(KeyEvent e)voidkeyTyped(KeyEvent e)protected voidprocess(KeyEvent e)
-
Constructor Details
-
ForwardToKeyBuffer
public ForwardToKeyBuffer()
-
-
Method Details
-
build
Description copied from interface:BuildableBuild the object -
addTo
Description copied from interface:BuildableAdds this component to its parent. In order to make Buildable objects extensible, the child is reponsible 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- Returns:
- an XML element from which this component can be built
-
keyPressed
- Specified by:
keyPressedin interfaceKeyListener
-
keyReleased
- Specified by:
keyReleasedin interfaceKeyListener
-
keyTyped
- Specified by:
keyTypedin interfaceKeyListener
-
process
-