public class ClosureComponentListener extends Attributable implements java.awt.event.ComponentListener
ClosureMouseListener.DEBUG| Constructor and Description |
|---|
ClosureComponentListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
componentHidden(java.awt.event.ComponentEvent event) |
void |
componentMoved(java.awt.event.ComponentEvent event) |
void |
componentResized(java.awt.event.ComponentEvent event) |
void |
componentShown(java.awt.event.ComponentEvent event) |
void |
setClosure(int type,
Closure closure)
Set closure for execution when listener receives
certain event.
|
_getAttribute, _setAttribute, getAttribute, getAttributeAsBoolean, getAttributeAsByte, getAttributeAsChar, getAttributeAsClosure, getAttributeAsDouble, getAttributeAsFloat, getAttributeAsInt, getAttributeAsShort, getAttributeAsString, getKeys, getStaticAttribute, getStaticKeys, isAttribute, isStaticAttribute, removeAllAttributes, removeAllStaticAttributes, removeAttribute, removeStaticAttribute, setAttribute, setStaticAttribute, showAttributes, showAttributespublic void setClosure(int type,
Closure closure)
type - Type of event for which given closure should be invokedclosure - Closure to be invoked for given event typepublic void componentResized(java.awt.event.ComponentEvent event)
componentResized in interface java.awt.event.ComponentListenerpublic void componentMoved(java.awt.event.ComponentEvent event)
componentMoved in interface java.awt.event.ComponentListenerpublic void componentShown(java.awt.event.ComponentEvent event)
componentShown in interface java.awt.event.ComponentListenerpublic void componentHidden(java.awt.event.ComponentEvent event)
componentHidden in interface java.awt.event.ComponentListener