Interface Element
- All Known Implementing Classes:
ControlRef
,Layout
,Separator
,Toolbar
public interface Element
An element in the ribbon
-
Method Summary
Modifier and TypeMethodDescriptionRetrieve the list of children elements in this element.int
Get the size taken by this element, in columnsboolean
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 Details
-
getChildren
Retrieve the list of children elements in this element.- Returns:
- The list of elements.
-
toSAX
Sax the the configuration of the element.- Parameters:
handler
- The content handler where to sax- Throws:
SAXException
- if an error occurs
-
isSame
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
Set the size to take by this element- Parameters:
size
- The size in number of columns
-