- All Implemented Interfaces:
Serializable,Comparable<DirtyBits>,Constable
DirtyBits describes how changing a property value of a Figure
affects dependent objects.- Author:
- Werner Randelshofer
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAffects the layout of the figure, the layout of its ancestors and the layout of layout observing figures.Affects the layout of layout observing figures.Affects a figure which is layout subject of other figures.Affects the layout subject(s) of the figure.Affects the JavaFXNodecreated by the figure.Affects the state of the figure.Affects the style of the figure.Affects the transform of the figure and all descendant figures.This is internally used by DrawingModel for marking figures which need transformNotify. -
Method Summary
-
Enum Constant Details
-
STATE
Affects the state of the figure.All objects which depend on the state of the figure need to be updated.
-
NODE
Affects the JavaFXNodecreated by the figure.All cached JavaFX
Nodes created by the figure need to be updated. -
LAYOUT
Affects the layout of the figure, the layout of its ancestors and the layout of layout observing figures.Method
Figure#layoutNotifymust be called on the figure, then in ascending order on all its ancestors which perform layout, and then on all dependent figures and their ancestors. -
LAYOUT_OBSERVERS
Affects the layout of layout observing figures.Method
Figure#layoutNotifymust be called on all dependent figures and their ancestors. -
STYLE
Affects the style of the figure.Method
Figure#stylesheetNotifymust be called on the figure and all its descendants. -
LAYOUT_SUBJECT
Affects the layout subject(s) of the figure.Method
Figure#layoutSubjectChangeNotifymust be called on the figure. -
LAYOUT_OBSERVERS_ADDED_OR_REMOVED
Affects a figure which is layout subject of other figures.Method
Figure#layoutObserverChangeNotifymust be called on the figure. -
TRANSFORM
Affects the transform of the figure and all descendant figures.Method
Figure#transformNotifymust be called on the figure and all its descendant figures. -
TRANSFORM_NOTIFY
This is internally used by DrawingModel for marking figures which need transformNotify.Method
Figure#transformNotifymust be called on the figure.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-