|
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.LyFieldItem
leon.view.LyPanel
leon.view.LyContainer
leon.view.LyAreaBase
leon.view.LyArea
public class LyArea
The LyArea class implements generic behavior for the AREA components as described in views.dtd regardless of the requested target (win, swing, html...). It represents an area.
LyAreaBase
Nested Class Summary |
---|
Nested classes/interfaces inherited from class leon.view.LyAreaBase |
---|
LyAreaBase.Border, LyAreaBase.Layout, LyAreaBase.Scrolling |
Nested classes/interfaces inherited from class leon.view.LyComponent |
---|
LyComponent.EventType |
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
static short |
EAST
|
static short |
NORTH
|
static short |
SOUTH
|
static short |
WEST
|
Fields inherited from class leon.view.LyComponent |
---|
_nbComponents, INIT_RESOURCE_ID, INTERNAL_ID_SEP, REWRITING_MODE, SEP_ID |
Constructor Summary | |
---|---|
LyArea()
Constructor with all required attributes. |
Method Summary | |
---|---|
void |
addToolBar(LyToolBar toolBar)
Adds a sub-component toolBar. |
void |
computePanelsPositions()
Computes the position of each sub-panels for this area. |
void |
free()
Free this component. |
LyPanel |
getBorderPanel(short position)
Get panel at the given pos. |
LyToolBar |
getBottomLeftToolBar()
Return the bottom left toolbar. |
LyToolBar |
getBottomRightToolBar()
Return the bottom right toolbar. |
LyEnvironment |
getEnvironment()
Gets specific environment of this area. |
int[] |
getGridSize()
Returns the size of the grid representing the layout of this area. |
LyToolBar |
getLeftToolBar()
Return the left toolbar. |
int[] |
getPanelPosition(LyPanel panel)
Returns the position of a sub-panel for this area. |
LyToolBar |
getRightToolBar()
Return the right toolbar. |
LyToolBar |
getToolBar()
Return the top left toolbar. |
LyToolBar |
getTopLeftToolBar()
Return the top left toolbar. |
LyToolBar |
getTopRightToolBar()
Return the top right toolbar. |
boolean |
isBorderPanel(LyPanel panel)
Indicates whether given panel is one of the border panel for current area. |
boolean |
isColumnsEqualWidth()
Indicates whether all columns in the layout will be forced to have the same width. |
boolean |
isHidden()
Checks if value of attribute hidden is set. |
boolean |
isScrollable()
Retrieve the scrollable attribute. |
void |
reset()
Reset this component. |
void |
setBorderPanel(LyPanel panel,
short position)
Set a border panel at the given position. |
void |
setBottomLeftToolBar(LyToolBar toolBar)
Add a toolbar at the bottom left position. |
void |
setBottomRightToolBar(LyToolBar toolBar)
Add a toolbar at the bottom right position. |
void |
setEnvironment(LyEnvironment environment)
Sets specific environment of this area. |
void |
setHidden(boolean hidden)
Sets attribute hidden to the given value. |
void |
setLeftToolBar(LyToolBar toolBar)
Add a toolbar at the left position. |
void |
setRightToolBar(LyToolBar toolBar)
Add a toolbar at the right position. |
void |
setToolBar(LyToolBar toolBar)
Add a toolbar. |
void |
setTopLeftToolBar(LyToolBar toolBar)
Add a toolbar at the top left position. |
void |
setTopRightToolBar(LyToolBar toolBar)
Add a toolbar at the top right position. |
void |
setVisible(boolean status)
Shows or hides the component/node. |
void |
setXmlFile(java.lang.String xmlFile)
Initializes attribute xmlFile to the given value. |
Methods inherited from class leon.view.LyPanel |
---|
generatePdf, getLastModified, isIdle, print, setIdle, setLastModified, setPopupMenu, setWaiting |
Methods inherited from class leon.view.LyFieldItem |
---|
addBeanData, buildBean, getBean, getBeanComponent, getBeanData, getBeanDatas, getChild, getChildCount, getErrorMessage, getFieldValue, getValue, setBean, setBeanComponent, setBeanDatas, setFieldValue, updateViewContent, validateInput |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface leon.view.getinterface.LyGetRefreshInterface |
---|
getRefresh |
Field Detail |
---|
public static final java.lang.String __VERSION
public static final short NORTH
public static final short SOUTH
public static final short EAST
public static final short WEST
Constructor Detail |
---|
public LyArea()
Method Detail |
---|
public void reset()
reset
in class LyComponent
public void free()
free
in class LyFieldItem
public LyEnvironment getEnvironment()
getEnvironment
in class LyComponent
public boolean isScrollable()
isScrollable
in class LyPanel
public void setEnvironment(LyEnvironment environment)
environment
- Specific environment of this area.public LyToolBar getToolBar()
public void setToolBar(LyToolBar toolBar)
toolBar
- a toolbarpublic LyToolBar getTopRightToolBar()
public void setTopRightToolBar(LyToolBar toolBar)
toolBar
- a toolbarpublic LyToolBar getTopLeftToolBar()
public void setTopLeftToolBar(LyToolBar toolBar)
toolBar
- a toolbarpublic LyToolBar getLeftToolBar()
public void setLeftToolBar(LyToolBar toolBar)
toolBar
- a toolbarpublic LyToolBar getRightToolBar()
public void setRightToolBar(LyToolBar toolBar)
toolBar
- a toolbarpublic LyToolBar getBottomRightToolBar()
public void setBottomRightToolBar(LyToolBar toolBar)
toolBar
- a toolbarpublic LyToolBar getBottomLeftToolBar()
public void setBottomLeftToolBar(LyToolBar toolBar)
toolBar
- a toolbarpublic void addToolBar(LyToolBar toolBar)
LyAreaBase
addToolBar
in class LyAreaBase
toolBar
- The toolBar to add to toolBars list.LyAreaBase.addToolBar(leon.view.LyToolBar)
public LyPanel getBorderPanel(short position)
position
- Either NORTH, SOUTH, EAST or WEST position.
public void setBorderPanel(LyPanel panel, short position)
panel
- the border panel.position
- Either NORTH, SOUTH, EAST or WEST position.public boolean isBorderPanel(LyPanel panel)
panel
- the panel to be checked.
public void computePanelsPositions()
_panelPositions
variable as an array of 4
integers (column of the panel, row of the panel, width of the panel, height of the panel).
_layoutSize
variable as an array
of two integers (width of the grid, height of the grid).
public int[] getPanelPosition(LyPanel panel)
panel
- the panel whose position must be returned.
computePanelsPositions()
public int[] getGridSize()
public boolean isColumnsEqualWidth()
public void setXmlFile(java.lang.String xmlFile)
setXmlFile
in class LyAreaBase
xmlFile
- New value of xmlFile.public boolean isHidden()
public void setHidden(boolean hidden)
hidden
- Boolean indicating if attribute hidden is set or unset.public void setVisible(boolean status)
LyComponent
setVisible
in class LyComponent
status
- new visibility statusLySetVisibleInterface.setVisible(boolean)
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |