|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.view.LyComponent
leon.view.LyHeadersBase
leon.view.LyHeaders
public class LyHeaders
The LyHeaders class implements generic behavior for the HEADERS components as described in views.dtd regardless of the requested target (win, swing, html...). It represents headers.
LyComponent
Nested Class Summary |
---|
Nested classes/interfaces inherited from class leon.view.LyComponent |
---|
LyComponent.EventType |
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Fields inherited from class leon.view.LyComponent |
---|
_nbComponents, INIT_RESOURCE_ID, INTERNAL_ID_SEP, REWRITING_MODE, SEP_ID |
Constructor Summary | |
---|---|
LyHeaders()
Constructor with all required attributes. |
Method Summary | |
---|---|
LyHeader |
getHeader(int i)
Return sub-header at given position. |
int |
getHeaderCount()
The total number of sub-header. |
LyHeaders |
getHeaders(int i)
Return sub-headers at given position. |
int |
getHeadersCount()
The total number of sub-headers. |
java.util.Vector<LyHeaders> |
getParentHeadersList()
Return the parent headers list. |
LyTable |
getParentTable()
Return the parent table. |
void |
insertHeader(LyHeader header,
int pos)
Inserts a sub-component header at given position. |
void |
insertHeaders(LyHeaders headers,
int pos)
Inserts a sub-component headers at given position. |
boolean |
isHierarchical()
Indicates if the headers component has sub-headers components. |
boolean |
isReorderingAllowed()
Indicates whether headers may be reordered. |
void |
setReorderingAllowed(boolean reorder)
Sets whether headers may be reordered. |
Methods inherited from class leon.view.LyHeadersBase |
---|
addHeader, addHeaders, cloneComponent, getAlign, getColor, getComponent, getComponentCount, getFont, getFontColor, getId, getLabel, getOverview, getSortableFont, getTemplate, getTooltip, isDefaultColor, isDefaultFont, isDefaultFontColor, isDefaultSortableFont, setAlign, setColor, setFont, setFontColor, setId, setLabel, setOverview, setSortableFont, setTemplate, setTooltip, writeXml |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyHeaders()
Method Detail |
---|
public void insertHeader(LyHeader header, int pos)
insertHeader
in class LyHeadersBase
header
- The header to add to components list.pos
- Position where the sub-component is inserted.public void insertHeaders(LyHeaders headers, int pos)
insertHeaders
in class LyHeadersBase
headers
- The headers to add to components list.pos
- Position where the sub-component is inserted.public java.util.Vector<LyHeaders> getParentHeadersList()
public LyTable getParentTable()
public LyHeader getHeader(int i)
i
- the position of the sub-header
public LyHeaders getHeaders(int i)
i
- the position of the sub-header
public int getHeaderCount()
public int getHeadersCount()
public boolean isHierarchical()
public void setReorderingAllowed(boolean reorder)
reorder
- true if headers may be reordered, false otherwise.public boolean isReorderingAllowed()
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |