Class CmsDialogOptions.Option
- java.lang.Object
-
- org.opencms.ade.containerpage.shared.CmsDialogOptions.Option
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- CmsDialogOptions
public static class CmsDialogOptions.Option extends java.lang.Object implements java.io.Serializable
Describes a dialog option.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
Returns the description.java.lang.String
getLabel()
Returns the label.java.lang.String
getValue()
Returns the value.boolean
isDisabled()
Returns if the option is disabled.
-
-
-
Constructor Detail
-
Option
public Option(java.lang.String value, java.lang.String label, java.lang.String description, boolean disabled)
Constructor.- Parameters:
value
- the valuelabel
- the labeldescription
- the descriptiondisabled
- if disabled
-
Option
protected Option()
Constructor used for serialization.
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
Returns the description.- Returns:
- the description
-
getLabel
public java.lang.String getLabel()
Returns the label.- Returns:
- the label
-
getValue
public java.lang.String getValue()
Returns the value.- Returns:
- the value
-
isDisabled
public boolean isDisabled()
Returns if the option is disabled.- Returns:
- if the option is disabled
-
-