LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.control
Class LyFastFilterController

java.lang.Object
  extended by leon.control.LyController
      extended by leon.control.LyAreaController
          extended by leon.control.LyUserInputController
              extended by leon.control.LyFastFilterController
All Implemented Interfaces:
LyGetSessionInterface, LyContextInterface, LyGetActionInterface, LySelectFileListenerInterface, LyGuiListener, LyInfoListener, LyEvaluator, LyDemandListener

public class LyFastFilterController
extends LyUserInputController

This is the controller for the fast filter action.


Field Summary
static java.lang.String __VERSION
          File Version
static java.lang.String DEMAND_CANCEL_FILTER
          Search field identifier.
static java.lang.String SEARCH_FIELD
          Search field identifier.
 
Fields inherited from class leon.control.LyAreaController
DEFAULT_MENU_ITEM_IMAGE_SIZE, DEMAND_APPLY, DEMAND_CANCEL, DEMAND_CLOSE, DEMAND_CREATE_CHART, DEMAND_DELETE_CHART, DEMAND_DELETE_OBJECTINFOS, DEMAND_DELETE_PREFERENCE, DEMAND_UPDATE_VIEW, DEMAND_VALIDATE
 
Fields inherited from class leon.control.LyController
_nbControllers, _nextId, CONTROLLER_ID_SEP, DEFAULT_IMAGE_FORMAT, DEMAND_HELP, ID_SEP
 
Constructor Summary
LyFastFilterController(LySession session, LyController parent, LyAction action, LyClassInfo classInfo, LyObjectList context)
          Constructor.
 
Method Summary
 void actionDemand(LyActionDemand demand)
          Invoked when an action occurs.
 LyFastFilterEndInterface getFastFilterEndInterface()
          Gets client (listener) for closing notification.
 LyViewController getViewController(boolean isDialog)
          Accessor to the view controller of the area.
 void setFilterEndInterface(LyFastFilterEndInterface endInterface)
          Sets client (listener) for closing notification.
 
Methods inherited from class leon.control.LyUserInputController
addBoolean, addBoolean, addChoice, addChoice, addDate, addDate, addFile, addFile, addLabel, addLabel, addList, addList, addNumber, addNumber, addRelation, addRelation, addText, addText, addText, getBehaviorInterface, getClassInfo, getComponent, getFormComponent, getImage, getInputId, getTitleBar, getViewController, isDialog, isViewResizable, reset, setBehavior, setBuilder, setDialog, setImage, setInputId, setTitleBar
 
Methods inherited from class leon.control.LyAreaController
canClose, canFree, clearViewCache, completeMenuBar, completeMessages, free, free, getAction, getAreaStackController, getBehavior, getBuilder, getContent, getContext, getContextClient, getContextTitle, getDefaultAction, getEnvironment, getFastEditionAction, getHelpFile, getImageTooltip, getInfoLabel, getInfoLabel, getKeyValue, getLabel, getLastModified, getMenuItemImage, getName, getParameter, getParameter, getParameterMarks, getParent, getParent, getParentAreaController, getRefreshTime, getSelection, getShortLabel, getTarget, getTitle, hasMark, hasNotMark, hasViewController, hideView, infoEvent, initialize, isInitialized, isOutlined, menuDemand, reset, selectFileDemand, setContext, setContext, setContextClient, setIdle, setPreference, setViewController, showView, showView, testParameter, toString, update, updateTitleBar
 
Methods inherited from class leon.control.LyController
activateViewDemand, demandPerformed, dragDropDemand, getApplication, getClassInfo, getId, getImage, getImage, getImage, getImage, getImageFromPrefix, getImageFromPrefix, getImageFromPrefix, getName, getObjectId, getSession, getUserData, getView, getViewManager, helpDemand, hideView, isFreed, isIdle, selectionDemand, setBuilderClass, setLastModified, setName, setUserData, showError, showError, showWarning, updateViewFromValues
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
File Version

See Also:
Constant Field Values

DEMAND_CANCEL_FILTER

public static final java.lang.String DEMAND_CANCEL_FILTER
Search field identifier.


SEARCH_FIELD

public static final java.lang.String SEARCH_FIELD
Search field identifier.

Constructor Detail

LyFastFilterController

public LyFastFilterController(LySession session,
                              LyController parent,
                              LyAction action,
                              LyClassInfo classInfo,
                              LyObjectList context)
Constructor.

Parameters:
session - current session associated to the controller. The controller automatically registers on the specified session.
parent - parent controller (or null for 'root' controller). Controller hierarchy indicates a child controller (for example a dialog created from a main view)
action - related action. If an action is specified, the controller uses action parameters (action name, action specific XML view description ...)
classInfo - This parameter is not used. Kept from introspection compatibility.
context - current context (may be null if the view is not contextual to a list of objects).
Method Detail

getViewController

public LyViewController getViewController(boolean isDialog)
Accessor to the view controller of the area. The view controller is a Frame / dialog which contains this area.

If no container is set, a new Frame controller is created for this area. Method never return null, but several calls on this method will return the same reference.

Overrides:
getViewController in class LyAreaController
Parameters:
isDialog - indicates whether the window is Dialog or Frame
Returns:
the controller which manages the parent frame / dialog

actionDemand

public void actionDemand(LyActionDemand demand)
Invoked when an action occurs. (LyDemandListener interface) The current implementation calls the userInputDemand method of the behavior.

Overrides:
actionDemand in class LyUserInputController
Parameters:
demand - the action demand.
See Also:
LyController.demandPerformed(leon.view.event.LyDemand)

setFilterEndInterface

public void setFilterEndInterface(LyFastFilterEndInterface endInterface)
Sets client (listener) for closing notification.

Parameters:
endInterface - client notified when the dialog closes.

getFastFilterEndInterface

public LyFastFilterEndInterface getFastFilterEndInterface()
Gets client (listener) for closing notification.

Returns:
client notified when the dialog closes. May be null.

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com