|
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.control.LyController
leon.control.LyViewController
leon.control.LyDialogController
public final class LyDialogController
This controller manages a dialog window (or view). This dialog is used as the view controller of other views (such as creation/modification/consultation forms).
Unlike a Frame, a dialog is a child window of a parent, not a main Window. A dialog does not have a MenuBar and may be modal.
The LyDialogController automatically calculates the dialog position and size. Size is calculated from the content, and location (using VIEW_XOFFET, VIEW_YOFFSET) Position is calculated from parent location.
The dialog is always kept inside the screen, and a check is performed to be sure that de dialog location fits in the screen.
The other view controller is LyFrameController.
LyFrameController
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File Version |
static int |
MAX_FIELDS_IN_POPUP
Maximum number of fields in a popup view, -1 means no limit. |
static int |
MAX_TABS_IN_POPUP
Maximum number of tabs in a popup view, -1 means no limit. |
static int |
VIEW_XOFFSET
Default X value for the offset (relative to parent) to determine view position when this dialog is opened. |
static int |
VIEW_YOFFSET
Default Y value for the offset (relative to parent) to determine view position when this dialog is opened. |
Fields inherited from class leon.control.LyViewController |
---|
DEMAND_ABOUT, DEMAND_CLOSE, DEMAND_EXIT, DEMAND_HIDE, DEMAND_LOG, DEMAND_UPDATE, DEMAND_VERSION, LEVEL_PRIMARY, LEVEL_ROOT, LEVEL_SECONDARY, LEVEL_THIRD |
Fields inherited from class leon.control.LyController |
---|
_nbControllers, _nextId, CONTROLLER_ID_SEP, DEFAULT_IMAGE_FORMAT, DEMAND_HELP, ID_SEP |
Constructor Summary | |
---|---|
LyDialogController(LySession session,
LyController parent)
Construct a dialog controller with the specified parent. |
|
LyDialogController(LySession session,
LyController parent,
LyAreaController areaController)
Construct a dialog controller with the specified parent and a given area controller. |
Method Summary | |
---|---|
void |
showView()
Make the view visible to the user. |
Methods inherited from class leon.control.LyViewController |
---|
actionDemand, clearViewCache, close, demandPerformed, exit, free, getAreaController, getContext, getControllerStack, getEnvironment, getFreeOnClose, getLastModified, getSon, getSonsCount, getView, getViewArea, getViewController, hasPrintThread, hasSonShowing, hideView, initialize, interruptPrintThread, isInShowProcess, isShown, questionAnswer, setAreaController, setContext, setControllerStack, setFreeOnClose, setIdle, setInShowProcess, setName, setPrintThread, setViewArea |
Methods inherited from class leon.control.LyController |
---|
activateViewDemand, dragDropDemand, getApplication, getBehavior, getBehaviorInterface, getBuilder, getClassInfo, getComponent, getId, getImage, getImage, getImage, getImage, getImageFromPrefix, getImageFromPrefix, getImageFromPrefix, getKeyValue, getName, getObjectId, getParent, getSession, getUserData, getViewManager, hasViewController, helpDemand, hideView, isFreed, isIdle, menuDemand, selectionDemand, setBuilder, setBuilderClass, setLastModified, setUserData, showError, showError, showWarning, toString, updateViewFromValues |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
public static int VIEW_XOFFSET
public static int VIEW_YOFFSET
public static int MAX_FIELDS_IN_POPUP
public static int MAX_TABS_IN_POPUP
Constructor Detail |
---|
public LyDialogController(LySession session, LyController parent)
session
- current session associated to the controller. The controller automatically
registers on the specified session.parent
- parent controller : this is never null for a dialog controller.public LyDialogController(LySession session, LyController parent, LyAreaController areaController)
session
- current session associated to the controller. The controller
automatically registers on the specified session.parent
- parent controller : this is never null for a dialog controller.areaController
- the area which is inside the dialog : an area automatically builds a
view controller (dialog or frame) when showView is called.Method Detail |
---|
public void showView()
showView
in class LyViewController
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |