Class Action
- java.lang.Object
-
- org.opends.guitools.controlpanel.datamodel.Action
-
public class Action extends Object
The class that is used by the different action buttons on the left side of the main ControlPanel dialog.
-
-
Constructor Summary
Constructors Constructor Description Action()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends StatusGenericPanel>getAssociatedPanelClass()Returns the class of the panel that is associated with this action (for instance the NewBaseDNPanel class is associated with the 'New Base DN' action.org.forgerock.i18n.LocalizableMessagegetName()Returns the name of the action.voidsetAssociatedPanel(Class<? extends StatusGenericPanel> associatedPanel)Sets the class of the panel that is associated with this action.voidsetName(org.forgerock.i18n.LocalizableMessage name)Sets the name of the action.
-
-
-
Method Detail
-
getName
public org.forgerock.i18n.LocalizableMessage getName()
Returns the name of the action.- Returns:
- the name of the action.
-
setName
public void setName(org.forgerock.i18n.LocalizableMessage name)
Sets the name of the action.- Parameters:
name- the name of the action.
-
getAssociatedPanelClass
public Class<? extends StatusGenericPanel> getAssociatedPanelClass()
Returns the class of the panel that is associated with this action (for instance the NewBaseDNPanel class is associated with the 'New Base DN' action.- Returns:
- the class of the panel that is associated with this action.
-
setAssociatedPanel
public void setAssociatedPanel(Class<? extends StatusGenericPanel> associatedPanel)
Sets the class of the panel that is associated with this action.- Parameters:
associatedPanel- the class of the panel that is associated with this action.
-
-