info.magnolia.ui.actionbar.definition
Class ConfiguredActionbarDefinition

java.lang.Object
  extended by info.magnolia.ui.actionbar.definition.ConfiguredActionbarDefinition
All Implemented Interfaces:
ActionbarDefinition

public class ConfiguredActionbarDefinition
extends Object
implements ActionbarDefinition

Simple implementation for ActionbarDefinition.


Constructor Summary
ConfiguredActionbarDefinition()
           
 
Method Summary
 void addSection(ActionbarSectionDefinition sectionDefinition)
           
 String getDefaultAction()
          Gets the name of the default action.
 String getDeleteAction()
          Gets the name of the default delete action.
 List<ActionbarSectionDefinition> getSections()
          Gets the sections within this action bar.
 void setDefaultAction(String defaultAction)
           
 void setDeleteAction(String deleteAction)
           
 void setSections(List<ActionbarSectionDefinition> def)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfiguredActionbarDefinition

public ConfiguredActionbarDefinition()
Method Detail

getDefaultAction

public String getDefaultAction()
Description copied from interface: ActionbarDefinition
Gets the name of the default action.

Specified by:
getDefaultAction in interface ActionbarDefinition
Returns:
the default action name

getDeleteAction

public String getDeleteAction()
Description copied from interface: ActionbarDefinition
Gets the name of the default delete action.

Specified by:
getDeleteAction in interface ActionbarDefinition
Returns:
the default delete action name

setDefaultAction

public void setDefaultAction(String defaultAction)

setDeleteAction

public void setDeleteAction(String deleteAction)

getSections

public List<ActionbarSectionDefinition> getSections()
Description copied from interface: ActionbarDefinition
Gets the sections within this action bar.

Specified by:
getSections in interface ActionbarDefinition
Returns:
the list of sections

setSections

public void setSections(List<ActionbarSectionDefinition> def)

addSection

public void addSection(ActionbarSectionDefinition sectionDefinition)


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.