Package com.ultikits.ultitools.entities
Enum Class ViewType
- All Implemented Interfaces:
Serializable,Comparable<ViewType>,java.lang.constant.Constable
The enum View type.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOk cancel view type.Previous back next view type.Previous quit next view type. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets back ground color.Gets middle button.intGets page number.booleanIs auto add page boolean.booleanIs last line enabled boolean.booleanIs ok cancel enabled boolean.booleanIs page button enabled boolean.static ViewTypeReturns the enum constant of this class with the specified name.static ViewType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PREVIOUS_BACK_NEXT
Previous back next view type. -
PREVIOUS_QUIT_NEXT
Previous quit next view type. -
OK_CANCEL
Ok cancel view type.
-
-
Field Details
-
isPageButtonEnabled
private final boolean isPageButtonEnabled -
autoAddPage
private final boolean autoAddPage -
backGroundColor
-
middleButton
-
pageNumber
private final int pageNumber -
isOkCancelEnabled
private final boolean isOkCancelEnabled -
isLastLineEnabled
private final boolean isLastLineEnabled
-
-
Constructor Details
-
ViewType
-
-
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
-
isPageButtonEnabled
public boolean isPageButtonEnabled()Is page button enabled boolean.- Returns:
- the boolean
-
isAutoAddPage
public boolean isAutoAddPage()Is auto add page boolean.- Returns:
- the boolean
-
getBackGroundColor
Gets back ground color.- Returns:
- the back ground color
-
getMiddleButton
Gets middle button.- Returns:
- the middle button
-
getPageNumber
public int getPageNumber()Gets page number.- Returns:
- the page number
-
isLastLineEnabled
public boolean isLastLineEnabled()Is last line enabled boolean.- Returns:
- the boolean
-
isOkCancelEnabled
public boolean isOkCancelEnabled()Is ok cancel enabled boolean.- Returns:
- the boolean
-