public class DefaultToolBar extends Object implements ToolBar
Constructor and Description |
---|
DefaultToolBar(String id) |
DefaultToolBar(String id,
List<ToolBarItem> items) |
Modifier and Type | Method and Description |
---|---|
void |
addItem(ToolBarItem item) |
String |
getIdentifier()
An identifier that is unique among all the resources of the same type
(see
Resource.getResourceType() ). |
List<ToolBarItem> |
getItems() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDependencies, getResourceType, isType
public DefaultToolBar(String id)
public DefaultToolBar(String id, List<ToolBarItem> items)
public String getIdentifier()
Resource
Resource.getResourceType()
).getIdentifier
in interface Resource
public void addItem(ToolBarItem item)
public List<ToolBarItem> getItems()
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.