| Modifier and Type | Field and Description |
|---|---|
protected int |
_colspan
Number of columns used by the control upon some layouts.
|
protected List<Element> |
_elements
The elements in the layout.
|
protected Logger |
_toolbarLogger
Logger
|
| Constructor and Description |
|---|
Toolbar(Configuration toolbarConfiguration,
RibbonManager ribbonManager,
Logger logger)
Creates a toolbar of controls
|
Toolbar(Logger logger,
int colspan)
Creates an empty toolbar of controls
|
| Modifier and Type | Method and Description |
|---|---|
List<Element> |
getChildren()
Retrieve the list of children elements in this element.
|
int |
getColumns()
Get the size taken by this element, in columns
|
boolean |
isSame(Element element)
Test if an element is equal to another element
|
void |
setColumns(int size)
Set the size to take by this element
|
void |
toSAX(ContentHandler handler)
Sax the the configuration of the element.
|
protected int _colspan
protected Logger _toolbarLogger
public Toolbar(Configuration toolbarConfiguration, RibbonManager ribbonManager, Logger logger) throws ConfigurationException
toolbarConfiguration - The configuration for the layoutribbonManager - The ribbon managerlogger - The loggerConfigurationException - if an error occurredpublic int getColumns()
ElementgetColumns in interface Elementpublic void setColumns(int size)
ElementsetColumns in interface Elementsize - The size in number of columnspublic List<Element> getChildren()
ElementgetChildren in interface Elementpublic void toSAX(ContentHandler handler) throws SAXException
ElementtoSAX in interface Elementhandler - The content handler where to saxSAXException - if an error occurs