Modifier and Type | Field and Description |
---|---|
protected List<Element> |
_elements
The list of elements in the group (controls or layouts)
|
protected Logger |
_groupSizeLogger
The logger
|
Constructor and Description |
---|
GroupSize(Configuration groupSizeConfiguration,
RibbonManager ribbonManager,
Logger logger)
Creates a group in a defined size
|
GroupSize(Logger logger)
Creates an empty group in a defined size
|
Modifier and Type | Method and Description |
---|---|
private Set<String> |
_getControlIds(List<Element> elements) |
List<Element> |
getChildren()
Retrieve the list of children elements in this element.
|
Set<String> |
getControlIds()
Get a set of all referenced ids
|
boolean |
isSame(GroupSize obj)
Test if this GroupSize contains the same elements as another GroupSize
|
void |
toSAX(String elementName,
ContentHandler handler)
Sax the the configuration of the group size.
|
protected Logger _groupSizeLogger
public GroupSize(Configuration groupSizeConfiguration, RibbonManager ribbonManager, Logger logger) throws ConfigurationException
groupSizeConfiguration
- The configuration for the sizeribbonManager
- The ribbon managerlogger
- The loggerConfigurationException
- if an error occurredpublic Set<String> getControlIds()
private Set<String> _getControlIds(List<Element> elements)
public List<Element> getChildren()
public void toSAX(String elementName, ContentHandler handler) throws SAXException
elementName
- The name of the surrounding element to usehandler
- The content handler where to saxSAXException
- if an error occurs