|
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.LyView
public abstract class LyView
This class implements the common description of a Frame object and a Dialog object as described in the dtd.
LyComponent
Nested Class Summary |
---|
Nested classes/interfaces inherited from class leon.view.LyComponent |
---|
LyComponent.EventType |
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
static int |
_nbViews
Number of views for debug. |
Fields inherited from class leon.view.LyComponent |
---|
_nbComponents, INIT_RESOURCE_ID, INTERNAL_ID_SEP, REWRITING_MODE, SEP_ID |
Constructor Summary | |
---|---|
LyView()
Default constructor. |
|
LyView(LyEnvironment environment)
Constructor. |
Method Summary | |
---|---|
void |
free()
Free this view. |
abstract LyArea |
getArea()
Get sub-component Area. |
abstract java.lang.String |
getController()
Gets value of controller. |
LyEnvironment |
getEnvironment()
Returns the component environment. |
abstract java.lang.String |
getId()
Gets value of id. |
int[] |
getLocation()
Accessor to the location. |
abstract int |
getMinHeight()
Gets value of minHeight. |
abstract int |
getMinWidth()
Gets value of minWidth. |
int[] |
getSize()
Accessor to the Size. |
abstract boolean |
isResizable()
Checks if value of attribute resizable is set. |
boolean |
isVisible()
Checks if the component is visible or not. |
abstract void |
setArea(LyArea area)
Sets sub-component area. |
void |
setEnvironment(LyEnvironment environment)
|
abstract void |
setLabel(java.lang.String label)
Sets title of this view. |
void |
setLocation(int x,
int y)
Accessor to the location. |
abstract void |
setResizable(boolean resizable)
Change resizable state on this view. |
void |
setSize(int w,
int h)
Accessor to the Size. |
void |
setVisible(boolean status)
Shows or hides the component/node. |
void |
setWaiting(boolean status)
Update the waiting status of current view. |
void |
writeXml(java.lang.String file,
boolean debug,
boolean fullView)
Write XML description of this view. |
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
public static int _nbViews
Constructor Detail |
---|
public LyView()
public LyView(LyEnvironment environment)
Method Detail |
---|
public void setEnvironment(LyEnvironment environment)
public LyEnvironment getEnvironment()
LyComponent
getEnvironment
in class LyComponent
public void setVisible(boolean status)
setVisible
in interface LySetVisibleInterface
setVisible
in class LyComponent
status
- new visibility statusLySetVisibleInterface.setVisible(boolean)
public boolean isVisible()
LySetVisibleInterface.setVisible(boolean)
public void setLocation(int x, int y)
setLocation
in interface LySetBoundsInterface
LySetBoundsInterface.setLocation(int, int)
public void setSize(int w, int h)
setSize
in interface LySetBoundsInterface
LySetBoundsInterface.setSize(int, int)
public int[] getLocation()
getLocation
in interface LyGetBoundsInterface
LyGetBoundsInterface.getLocation()
public int[] getSize()
getSize
in interface LyGetBoundsInterface
LyGetBoundsInterface.getSize()
public void setWaiting(boolean status)
setWaiting
in interface LySetWaitingInterface
status
- the new statusLySetWaitingInterface.setWaiting(boolean)
public void free()
free
in class LyComponent
public abstract java.lang.String getId()
getId
in interface LyGetIdInterface
getId
in class LyComponent
public abstract java.lang.String getController()
getController
in interface LyGetControllerInterface
public abstract LyArea getArea()
public abstract void setArea(LyArea area)
area
- New value of area
java.lang.IllegalArgumentException
- if area is nullpublic abstract void setResizable(boolean resizable)
public abstract boolean isResizable()
public abstract int getMinWidth()
public abstract int getMinHeight()
public abstract void setLabel(java.lang.String label)
public void writeXml(java.lang.String file, boolean debug, boolean fullView)
file
- the path of the filedebug
- True if view is dumped for debug.fullView
- True if the full view is dumped or only its content.
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |