|
|||||||||
| 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.knobs.A_Knob
uavsim.graphics.controls.knobs.Knob
public class Knob
Provides a basic interactive knob with clockwise and counterclockwise rotation.
| Field Summary |
|---|
| Fields inherited from class uavsim.graphics.controls.knobs.A_Knob |
|---|
_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 | |
|---|---|
Knob(java.lang.String id,
KnobProperties properties,
A_Instrument hostInstrument)
Creates a knob control |
|
| Method Summary | |
|---|---|
void |
render(java.awt.Graphics2D graphics)
Renders the controls. |
| Methods inherited from class uavsim.graphics.controls.knobs.A_Knob |
|---|
getProperties, handleMouseEvent_, isCoordinateHit, 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 Knob(java.lang.String id,
KnobProperties properties,
A_Instrument hostInstrument)
id - - the unique knob identifierproperties - - the knob propertieshostInstrument - - the knob host instrument| Method Detail |
|---|
public void render(java.awt.Graphics2D graphics)
render in class A_Knobgraphics - - the graphics context
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||