|
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.graphic.LyGraphicalObject
leon.view.win.swing.LySwingObject
leon.view.win.swing.LySwingHeader
public class LySwingHeader
This class implements the Header object (as described in the dtd) for swing viewer.
LyHeader
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Constructor Summary | |
---|---|
LySwingHeader(LyHeader header)
Class constructor of a Header object for the Swing target. |
Method Summary | |
---|---|
short |
getAlign()
Gets the align property of this header. |
java.lang.String |
getId()
(non-Javadoc). |
java.awt.Image |
getImage()
Return the image associated to the header. |
java.lang.String |
getLabel()
(non-Javadoc). |
int |
getSort()
Gets the header sort level. |
java.awt.Font |
getSortableHeaderFont()
Gets the sortable header font. |
java.lang.String |
getTooltip()
Gets the header tooltip. |
void |
initialize()
Initializes the _sortableHeaderFont to null. |
boolean |
isFixed()
Gets the fixed property of this header. |
boolean |
isIncreasing()
Gets the increasing property of this header. |
boolean |
isResizable()
Gets the resizable property of this header. |
boolean |
isSortable()
Gets the sortable property of this header. |
boolean |
isWrap()
Gets the wrapped property of this header. |
void |
setBorderColor(java.lang.String borderColor)
(Modification) Accessor. |
void |
setBorderWidth(int borderWidth)
(Modification) Accessor. |
void |
setColumnWidth(double columnWidth)
Sets attribute columnWidth to the given value. |
void |
setContent()
Nothing is done here, as a header has no content. |
void |
setFixed(boolean fixed)
(non-Javadoc). |
void |
setIncreasing(boolean increasing)
(non-Javadoc). |
void |
setSort(int sort)
(non-Javadoc). |
Methods inherited from class leon.view.win.swing.LySwingObject |
---|
getBounds, getChildrenBounds, getComponent, getDefaultFrame |
Methods inherited from class leon.view.graphic.LyGraphicalObject |
---|
expand, free, getController, getEnv, getEnvironment, getIdCode, getIntResource, getMessage, getMessage, getResource, getString, getString, getString, getViewComponent, getViewManager, isFreed, isFreeing, isImageAnimated, processDemand, processDemand, testResource, translate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface leon.view.graphic.LyGraphicalComponent |
---|
free, getViewComponent |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LySwingHeader(LyHeader header)
header
- a HEADER component defined for every type of view targets. This header is
initialized specificaly for the Swing view.Method Detail |
---|
public void initialize()
_sortableHeaderFont
to null.
public void setContent()
public void setIncreasing(boolean increasing)
setIncreasing
in interface LyGraphicalHeader
increasing
- Boolean indicating if attribute increasing is set or unset.LyGraphicalHeader.setIncreasing(boolean)
public void setFixed(boolean fixed)
setFixed
in interface LyGraphicalHeader
fixed
- Boolean indicating if attribute fixed is set or unset.LyGraphicalHeader.setFixed(boolean)
public void setSort(int sort)
setSort
in interface LyGraphicalHeader
sort
- New value of sort.LyGraphicalHeader.setSort(int)
public void setBorderColor(java.lang.String borderColor)
setBorderColor
in interface LyGraphicalHeader
borderColor
- New value of borderColor.LyGraphicalHeader.setBorderColor(String)
public void setBorderWidth(int borderWidth)
setBorderWidth
in interface LyGraphicalHeader
borderWidth
- New value of borderWidth.LyGraphicalHeader.setBorderWidth(int)
public java.lang.String getTooltip()
public java.lang.String getLabel()
getLabel
in interface LyGetLabelInterface
LyGetLabelInterface.getLabel()
public java.awt.Image getImage()
public java.lang.String getId()
getId
in interface LyGetIdInterface
LyGetIdInterface.getId()
public int getSort()
setSort(int)
public boolean isIncreasing()
public boolean isSortable()
public boolean isResizable()
public boolean isFixed()
public boolean isWrap()
public short getAlign()
LyHeader#Align.CENTER
, LyHeader#Align.LEFT
or LyHeader#Align.RIGHT
depending on the align property of the headerpublic java.awt.Font getSortableHeaderFont()
public void setColumnWidth(double columnWidth)
setColumnWidth
in interface LyGraphicalHeader
columnWidth
- New value of columnWidth.
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |