Package com.orchestranetworks.ui
Enum Class FirstCallDisplay
- All Implemented Interfaces:
Serializable
,Comparable<FirstCallDisplay>
,Constable
Defines how to display a filtered table or record in a Web Component on first call.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isAuto()
boolean
isRecord()
boolean
isView()
static FirstCallDisplay
Returns the enum constant of this class with the specified name.static FirstCallDisplay[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
auto
The display is automatically set according to the selection.The following rules apply:
- a Web Component on a table with no predicate leads to the table display;
- a Web Component on a table with a single primary key predicate leads to the record form;
- a Web Component on a table with other types of predicates leads to the table display.
-
view
Forces the display of the tabular view or of the hierarchical view. -
record
If the predicate has at least one record, forces the display of the record form.
-
-
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
-
isAuto
public boolean isAuto() -
isView
public boolean isView() -
isRecord
public boolean isRecord()
-