Enum FilteredTreeModel.IncludedMode
- java.lang.Object
-
- java.lang.Enum<FilteredTreeModel.IncludedMode>
-
- com.hybris.backoffice.widgets.selectivesync.tree.FilteredTreeModel.IncludedMode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<FilteredTreeModel.IncludedMode>
- Enclosing class:
- FilteredTreeModel<E extends TreeItemSelectable>
public static enum FilteredTreeModel.IncludedMode extends java.lang.Enum<FilteredTreeModel.IncludedMode>
Determines which attributes should be shown.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLEMPTYINCLUDED_ONLYNOT_INCLUDED_ONLY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FilteredTreeModel.IncludedModeresolveIncludeMode(boolean showIncluded, boolean showNotIncluded)ResolvesFilteredTreeModel.IncludedModevalue.static FilteredTreeModel.IncludedModevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FilteredTreeModel.IncludedMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final FilteredTreeModel.IncludedMode ALL
-
INCLUDED_ONLY
public static final FilteredTreeModel.IncludedMode INCLUDED_ONLY
-
NOT_INCLUDED_ONLY
public static final FilteredTreeModel.IncludedMode NOT_INCLUDED_ONLY
-
EMPTY
public static final FilteredTreeModel.IncludedMode EMPTY
-
-
Method Detail
-
values
public static FilteredTreeModel.IncludedMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FilteredTreeModel.IncludedMode c : FilteredTreeModel.IncludedMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FilteredTreeModel.IncludedMode valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
resolveIncludeMode
public static FilteredTreeModel.IncludedMode resolveIncludeMode(boolean showIncluded, boolean showNotIncluded)
ResolvesFilteredTreeModel.IncludedModevalue.- Parameters:
showIncluded- show attributes included in synchronizationshowNotIncluded- show attributes not included in synchronization- Returns:
- calculated
FilteredTreeModel.IncludedMode
-
-