|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.plot2.NavAction<A>
public class NavAction<A>
Describes the result of a navigation request from the GUI. Currently this aggregates two items, both optional: the aspect object which describes the new view of the plotting surface that should result from the action, and a surface decoration for indicating to the user the nature of the navigation in progress.
Constructor Summary | |
---|---|
NavAction(A aspect,
Decoration decoration)
Constructor. |
Method Summary | |
---|---|
A |
getAspect()
Returns the surface aspect describing the result of the navigation. |
Decoration |
getDecoration()
Returns a surface decoration giving a visual indication of the nature of the navigation action in progress. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NavAction(A aspect, Decoration decoration)
aspect
- describes the new surface; null if no changedecoration
- decorates the surface to indicate navigation;
null if no decorationMethod Detail |
---|
public A getAspect()
public Decoration getDecoration()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |