|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.composite.event.view.AbstractCompositeViewEvent
com.tensegrity.composite.event.view.ViewParameterChangeEvent
A ViewParameterChangeEvent occurs whenever view parameters like
the viewport or other view defining properties have been changed.
CompositeViewEvent,
CompositeViewListener| Field Summary | |
static int |
MASK_BACKGROUND
MASK_BACKGROUND: Constant for changes in the background of the view |
static int |
MASK_GRID
MASK_GRID: Constant for changes in the grid |
static int |
MASK_RULER
MASK_RULER: Constant for changes in the ruler |
static int |
MASK_VIEWPORT
MASK_VIEWPORT: Constant for changes in the viewport |
| Fields inherited from class com.tensegrity.composite.event.view.AbstractCompositeViewEvent |
composite, composites, compositeView |
| Constructor Summary | |
ViewParameterChangeEvent(CompositeView compositeView)
Constructor for ViewParameterChangeEvent. |
|
ViewParameterChangeEvent(CompositeView compositeView,
int mask)
Constructor for ViewParameterChangeEvent. |
|
| Method Summary | |
int |
getTypeMask()
Returns the event mask, defining what kind of change this event has been sent for. |
java.lang.String |
toString()
|
| Methods inherited from class com.tensegrity.composite.event.view.AbstractCompositeViewEvent |
getCompositeView |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int MASK_BACKGROUND
MASK_BACKGROUND: Constant for changes in the background of the view
public static final int MASK_VIEWPORT
MASK_VIEWPORT: Constant for changes in the viewport
public static final int MASK_GRID
MASK_GRID: Constant for changes in the grid
public static final int MASK_RULER
MASK_RULER: Constant for changes in the ruler
| Constructor Detail |
public ViewParameterChangeEvent(CompositeView compositeView)
ViewParameterChangeEvent.
compositeView - the CompositeView in which the
view has been configured.
public ViewParameterChangeEvent(CompositeView compositeView,
int mask)
ViewParameterChangeEvent.
compositeView - the CompositeView in which the
view has been configured.mask - The event mask, containing one or more of the constants:
MASK_BACKGROUND
MASK_VIEWPORT| Method Detail |
public int getTypeMask()
MASK_BACKGROUND
MASK_VIEWPORTpublic java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||