Enum CanvasFilterMode
- All Implemented Interfaces:
ValueEnum,Serializable,Comparable<CanvasFilterMode>,Constable
Canvas.getAllCanvases() to specify which canvases to return.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionReturn all canvases regardless of drawn/visibility/generated state.Return all generated canvases regardless of drawn/visibility state.Return all non-generated canvases regardless of drawn/visibility state.Return only canvases that are drawn (regardless of visibility or generated status).Return only canvases that are drawn but hidden (either directly hidden or hidden due to a hidden parent).Return only generated canvases (autoChildren and other framework- generated canvases) that are drawn and visible.Return only canvases that are not yet drawn.Return only canvases that are drawn, visible to the end user, and non-generated (developer-created).Return only canvases that are drawn and visible to the end user, including generated canvases (autoChildren, etc.). -
Method Summary
Modifier and TypeMethodDescriptiongetValue()static CanvasFilterModeReturns the enum constant of this type with the specified name.static CanvasFilterMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
VISIBLE
Return only canvases that are drawn, visible to the end user, and non-generated (developer-created). This is the default. Visibility checking includes parental visibility, so a canvas whose parent is hidden will not be returned.If this enumerated value is used in a
Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "visible". -
VISIBLEINCLUDEGENERATED
Return only canvases that are drawn and visible to the end user, including generated canvases (autoChildren, etc.).If this enumerated value is used in a
Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "visibleIncludeGenerated". -
DRAWN
Return only canvases that are drawn (regardless of visibility or generated status).If this enumerated value is used in a
Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "drawn". -
DRAWNHIDDEN
Return only canvases that are drawn but hidden (either directly hidden or hidden due to a hidden parent).If this enumerated value is used in a
Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "drawnHidden". -
UNDRAWN
Return only canvases that are not yet drawn.If this enumerated value is used in a
Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "undrawn". -
GENERATED
Return only generated canvases (autoChildren and other framework- generated canvases) that are drawn and visible.If this enumerated value is used in a
Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "generated". -
ALL
Return all canvases regardless of drawn/visibility/generated state.If this enumerated value is used in a
Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "all". -
ALLGENERATED
Return all generated canvases regardless of drawn/visibility state.If this enumerated value is used in a
Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "allGenerated". -
ALLNONGENERATED
Return all non-generated canvases regardless of drawn/visibility state.If this enumerated value is used in a
Component XMLfile or server-side DataSource descriptor (.ds.xml file), use the value "allNonGenerated".
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
-