|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuavsim.graphics.controls.A_Control
uavsim.graphics.controls.buttons.A_Button
uavsim.graphics.controls.buttons.PushButton
public class PushButton
Provides a basic interactive pushbutton.
| Field Summary |
|---|
| Fields inherited from class uavsim.graphics.controls.buttons.A_Button |
|---|
_body, _properties |
| Fields inherited from class uavsim.graphics.controls.A_Control |
|---|
_id, CURSOR_ARROW_DOWN, CURSOR_ARROW_LEFT, CURSOR_ARROW_RIGHT, CURSOR_ARROW_UP, CURSOR_CROSSHAIR, CURSOR_DEFAULT, CURSOR_HAND |
| Constructor Summary | |
|---|---|
PushButton(java.lang.String id,
ButtonProperties properties,
A_Instrument hostInstrument)
Creates a pushbutton control. |
|
| Method Summary | |
|---|---|
void |
render(java.awt.Graphics2D graphics)
Renders the controls. |
| Methods inherited from class uavsim.graphics.controls.buttons.A_Button |
|---|
getProperties, handleMouseEvent_, isCoordinateHit, toString |
| Methods inherited from class uavsim.graphics.controls.A_Control |
|---|
calculateAnchor, getHostInstrument, getID, resetCursor, setCursor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PushButton(java.lang.String id,
ButtonProperties properties,
A_Instrument hostInstrument)
id - - the unique button identifierproperties - - the button propertieshostInstrument - - the button host instrument| Method Detail |
|---|
public void render(java.awt.Graphics2D graphics)
render in class A_Buttongraphics - - the graphics context
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||