Interface Element
-
- All Known Implementing Classes:
ControlRef
,Layout
,Separator
,Toolbar
public interface Element
An element in the ribbon
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Element>
getChildren()
Retrieve the list of children elements in this element.int
getColumns()
Get the size taken by this element, in columnsboolean
isSame(Element element)
Test if an element is equal to another elementvoid
setColumns(int size)
Set the size to take by this elementvoid
toSAX(ContentHandler handler)
Sax the the configuration of the element.
-
-
-
Method Detail
-
getChildren
List<Element> getChildren()
Retrieve the list of children elements in this element.- Returns:
- The list of elements.
-
toSAX
void toSAX(ContentHandler handler) throws SAXException
Sax the the configuration of the element.- Parameters:
handler
- The content handler where to sax- Throws:
SAXException
- if an error occurs
-
isSame
boolean isSame(Element element)
Test if an element is equal to another element- Parameters:
element
- The element to compare to- Returns:
- True if equals
-
getColumns
int getColumns()
Get the size taken by this element, in columns- Returns:
- The size
-
setColumns
void setColumns(int size)
Set the size to take by this element- Parameters:
size
- The size in number of columns
-
-