public class Workspace.TaskDefinition.BandDefinition extends java.lang.Object implements XMLPersistent
Modifier and Type | Class and Description |
---|---|
class |
Workspace.TaskDefinition.BandDefinition.ItemDefinition |
Modifier and Type | Method and Description |
---|---|
Workspace.TaskDefinition.BandDefinition.ItemDefinition |
addItem(org.pushingpixels.flamingo.api.ribbon.JRibbonBand band,
org.pushingpixels.flamingo.api.common.AbstractCommandButton button)
add ItemDefinition from AbstractCommandButton component
|
Workspace.TaskDefinition.BandDefinition.ItemDefinition |
addItem(java.lang.String className) |
Workspace.TaskDefinition.BandDefinition.ItemDefinition |
addItem(java.lang.String className,
org.pushingpixels.flamingo.api.ribbon.RibbonElementPriority prio) |
boolean |
addItems(org.pushingpixels.flamingo.api.ribbon.JRibbonBand ribbonBand)
Add all items contained in the specified JRibbonBand.
|
boolean |
addItems(org.w3c.dom.Node node)
Add all items from the specified Node.
|
void |
addSeparator() |
void |
clear()
remove all items from the band
|
Workspace.TaskDefinition.BandDefinition.ItemDefinition |
findItem(java.lang.String className) |
java.util.ArrayList<Workspace.TaskDefinition.BandDefinition.ItemDefinition> |
getItems() |
java.lang.String |
getName() |
Workspace.TaskDefinition |
getTaskDefinition() |
java.lang.String |
getTaskName() |
Workspace |
getWorkspace() |
java.lang.String |
getWorkspaceName() |
boolean |
loadFrom(org.pushingpixels.flamingo.api.ribbon.JRibbonBand ribbonBand) |
boolean |
loadFromXML(org.w3c.dom.Node node)
LOAD
|
boolean |
removeItem(java.lang.String className)
remove an item from the band
|
boolean |
removeItem(Workspace.TaskDefinition.BandDefinition.ItemDefinition item)
remove an item from the band
|
boolean |
saveToXML(org.w3c.dom.Node node)
SAVE
|
public Workspace.TaskDefinition.BandDefinition.ItemDefinition addItem(org.pushingpixels.flamingo.api.ribbon.JRibbonBand band, org.pushingpixels.flamingo.api.common.AbstractCommandButton button)
band
- button
- public Workspace.TaskDefinition.BandDefinition.ItemDefinition addItem(java.lang.String className, org.pushingpixels.flamingo.api.ribbon.RibbonElementPriority prio)
public Workspace.TaskDefinition.BandDefinition.ItemDefinition addItem(java.lang.String className)
public void addSeparator()
public boolean addItems(org.pushingpixels.flamingo.api.ribbon.JRibbonBand ribbonBand)
public boolean addItems(org.w3c.dom.Node node)
public boolean removeItem(Workspace.TaskDefinition.BandDefinition.ItemDefinition item)
item
- public boolean removeItem(java.lang.String className)
className
- public void clear()
public Workspace.TaskDefinition getTaskDefinition()
public java.lang.String getTaskName()
public Workspace getWorkspace()
public java.lang.String getWorkspaceName()
public boolean loadFrom(org.pushingpixels.flamingo.api.ribbon.JRibbonBand ribbonBand)
public boolean loadFromXML(org.w3c.dom.Node node)
XMLPersistent
loadFromXML
in interface XMLPersistent
public boolean saveToXML(org.w3c.dom.Node node)
XMLPersistent
saveToXML
in interface XMLPersistent
public Workspace.TaskDefinition.BandDefinition.ItemDefinition findItem(java.lang.String className)
public java.lang.String getName()
public java.util.ArrayList<Workspace.TaskDefinition.BandDefinition.ItemDefinition> getItems()