|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<EventType>
org.diylc.common.EventType
public enum EventType
Enumerates all possible events between IPlugInPort and IPlugIn. Some events
overlap so be careful which ones you subscribe for and how you process them.
| Enum Constant Summary | |
|---|---|
AVAILABLE_CTRL_POINTS_CHANGED
Called when control points under the cursor are changed. |
|
FILE_STATUS_CHANGED
Called when either current file name or modified flag are changed. |
|
LAYER_STATE_CHANGED
Called when a layer status is changed. |
|
MOUSE_MOVED
Called when mouse cursor is moved. |
|
PROJECT_LOADED
Called when a new project is loaded. |
|
PROJECT_MODIFIED
Called when the current project has been modified. |
|
REPAINT
Called when selection size changes, together with a Point2D object containing selection
size (x = width, y = height). |
|
SELECTION_CHANGED
Called when component selection is changed. |
|
SELECTION_RECT_CHANGED
Called when selection rectangle is changed. |
|
SLOT_CHANGED
Called when new component slot has been changed. |
|
STATUS_MESSAGE_CHANGED
Called to update the status message. |
|
ZOOM_CHANGED
Called when zoom level changes. |
|
| Method Summary | |
|---|---|
static EventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static EventType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final EventType ZOOM_CHANGED
Double is passed
with new zoom level.
public static final EventType PROJECT_LOADED
Project is the first parameter. Boolean flag
is the second parameter and it's true when new project is loaded, false when the same project
has been either reloaded or loaded with undo/redo operations.
public static final EventType FILE_STATUS_CHANGED
public static final EventType SELECTION_RECT_CHANGED
Rectangle is the only
parameter and it contains the new selection rectangle.
public static final EventType SELECTION_CHANGED
ComponentSelection is attached as a
parameter.
public static final EventType REPAINT
Point2D object containing selection
size (x = width, y = height). Size is expressed in the default measure (cm for metric, inches
for imperial).
public static final EventType SLOT_CHANGED
ComponentType
and may be null.
public static final EventType PROJECT_MODIFIED
Project are passed
as parameters, one before and one after the change. The third parameter is a string containing
change description.
public static final EventType AVAILABLE_CTRL_POINTS_CHANGED
Map, Set> containing all the components and
indices of their control points that are under the cursor.
public static final EventType MOUSE_MOVED
public static final EventType LAYER_STATE_CHANGED
public static final EventType STATUS_MESSAGE_CHANGED
| Method Detail |
|---|
public static EventType[] values()
for (EventType c : EventType.values()) System.out.println(c);
public static EventType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||