public class DerivedGeometriesExtension extends Extension implements ComponentListener
Constructor and Description |
---|
DerivedGeometriesExtension() |
Modifier and Type | Method and Description |
---|---|
void |
componentHidden(ComponentEvent ce) |
void |
componentMoved(ComponentEvent ce) |
void |
componentResized(ComponentEvent ce) |
void |
componentShown(ComponentEvent ce) |
void |
execute(String actionCommand)
Execute the actions associated to this extension.
|
void |
initialize()
Extension's initialization code should be here.
|
boolean |
isEnabled()
This method is invoked by Andami to check whether the extension
(and its associated controls) is enabled or disabled.
|
boolean |
isVisible()
This method is invoked by Andami to check whether the extension
(and its associated controls) is visible or hidden.
|
public void execute(String actionCommand)
execute
in interface IExtension
actionCommand
- An String specifying the action to
execute. This is useful when there are different
controls associated with the same extension.public void initialize()
IExtension
initialize
in interface IExtension
public boolean isEnabled()
IExtension
isEnabled
in interface IExtension
public boolean isVisible()
IExtension
isVisible
in interface IExtension
public void componentResized(ComponentEvent ce)
componentResized
in interface ComponentListener
public void componentMoved(ComponentEvent ce)
componentMoved
in interface ComponentListener
public void componentShown(ComponentEvent ce)
componentShown
in interface ComponentListener
public void componentHidden(ComponentEvent ce)
componentHidden
in interface ComponentListener