public static enum ITracePoint2D.STATE extends Enum<ITracePoint2D.STATE>
Enum Constant and Description |
---|
ADDED
The state flag used to inform the
listener
via
in case a point was added. |
ADDITIONAL_POINT_PAINTER_ADDED
The state flag used to inform the
listener
via
in case ITracePoint2D.addAdditionalPointPainter(IPointPainter)
was invoked. |
ADDITIONAL_POINT_PAINTER_REMOVED
The state flag used to inform the
listener
via
in case ITracePoint2D.removeAdditionalPointPainter(IPointPainter)
was invoked. |
CHANGED
The state flag used to inform the
listener
via
in case a point was changed. |
REMOVED
The state flag used to inform the
listener
via
in case a point was removed. |
Modifier and Type | Method and Description |
---|---|
static ITracePoint2D.STATE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ITracePoint2D.STATE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ITracePoint2D.STATE ADDED
ITrace2D
listener
via
ITrace2D#firePointChanged(ITracePoint2D, STATE, Object, Object)
in case a point was added.
public static final ITracePoint2D.STATE ADDITIONAL_POINT_PAINTER_ADDED
ITrace2D
listener
via
ITrace2D#firePointChanged(ITracePoint2D, STATE, Object, Object)
in case ITracePoint2D.addAdditionalPointPainter(IPointPainter)
was invoked.
public static final ITracePoint2D.STATE ADDITIONAL_POINT_PAINTER_REMOVED
ITrace2D
listener
via
ITrace2D#firePointChanged(ITracePoint2D, STATE, Object, Object)
in case ITracePoint2D.removeAdditionalPointPainter(IPointPainter)
was invoked.
public static final ITracePoint2D.STATE CHANGED
ITrace2D
listener
via
ITrace2D#firePointChanged(ITracePoint2D, STATE, Object, Object)
in case a point was changed.
Will be used by
and
ITracePoint2D.setLocation(double, double)
.
Point2D.setLocation(java.awt.geom.Point2D)
public static final ITracePoint2D.STATE REMOVED
ITrace2D
listener
via
ITrace2D#firePointChanged(ITracePoint2D, STATE, Object, Object)
in case a point was removed.
public static ITracePoint2D.STATE[] values()
for (ITracePoint2D.STATE c : ITracePoint2D.STATE.values()) System.out.println(c);
public static ITracePoint2D.STATE valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018. All rights reserved.