public interface ILcdGXYChainableController extends ILcdGXYController, ILcdAWTEventListener
This controller is designed to be an element in a controller chain, passing along events and method calls.
A chainable controller keeps a reference to the next controller in the chain. The controller is free to decide what methods and/or events should be delegated to the rest of the chain.
Modifier and Type | Method and Description |
---|---|
void |
appendGXYController(ILcdGXYChainableController aEnd)
This method will append the passed controller to the end of the chain.
|
ILcdGXYChainableController |
getNextGXYController()
Returns a reference to the controller that is located after this one in a chain, or null
if this controller is the last element of the chain.
|
void |
setNextGXYController(ILcdGXYChainableController aNext)
This method sets the next controller in the chain for this controller.
|
getCursor, getIcon, getLayered, getName, getShortDescription, paint, startInteraction, terminateInteraction, viewRepaint
handleAWTEvent
ILcdGXYChainableController getNextGXYController()
setNextGXYController(ILcdGXYChainableController)
void setNextGXYController(ILcdGXYChainableController aNext)
aNext
- the reference to the controller that will be the next element in the chaingetNextGXYController()
void appendGXYController(ILcdGXYChainableController aEnd)
aEnd
- the controller to be appended to the end of the chain.