public class ControlRef extends Object implements Element
| Modifier and Type | Field and Description | 
|---|---|
protected int | 
_colspan
Number of columns used by the control upon some layouts. 
 | 
protected Logger | 
_controlLogger
Logger 
 | 
protected String | 
_id
The id of the control 
 | 
| Constructor and Description | 
|---|
ControlRef(Configuration controlConfiguration,
          RibbonManager ribbonManager,
          Logger logger)
Creates a control reference 
 | 
ControlRef(String id,
          int colspan,
          Logger logger)
Creates a control reference 
 | 
| Modifier and Type | Method and Description | 
|---|---|
private void | 
_initialize(String id,
           int colspan,
           Logger logger)  | 
List<Element> | 
getChildren()
Retrieve the list of children elements in this element. 
 | 
int | 
getColumns()
Get the size taken by this element, in columns 
 | 
String | 
getId()
Get the id of the ControlRef 
 | 
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. 
 | 
String | 
toString()  | 
protected int _colspan
protected Logger _controlLogger
public ControlRef(Configuration controlConfiguration, RibbonManager ribbonManager, Logger logger) throws ConfigurationException
controlConfiguration - The configuration for the controlribbonManager - The ribbon managerlogger - The loggerConfigurationException - if an error occurredpublic ControlRef(String id, int colspan, Logger logger)
id - The id referenced by this controlcolspan - The colspan of this controllogger - The loggerprivate void _initialize(String id, int colspan, Logger logger)
public 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 occurspublic boolean isSame(Element element)
Element