|
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.LyAreaController
leon.control.LyUserInputController
leon.control.LyFindController
public class LyFindController
This is the controller for the find action.
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File Version |
static java.lang.String |
DEMAND_CLOSE_FIND
Menu id : Find. |
static java.lang.String |
DEMAND_FIND
Menu id : Find. |
static java.lang.String |
DEMAND_FIND_CASE_SENSITIVE
Find popup : Case sensitive. |
static java.lang.String |
DEMAND_FIND_FIELD
Find popup : Find field. |
static java.lang.String |
DEMAND_FIND_PATTERN
Find popup : Find pattern. |
static java.lang.String |
DEMAND_FIND_WHOLE_WORD
Find popup : Whole word. |
static java.lang.String |
DEMAND_NEXT
Menu id : Find next. |
static java.lang.String |
DEMAND_PREVIOUS
Menu id : Find previous. |
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 | |
---|---|
LyFindController(LySession session,
LyController parent,
LyAction action,
LyClassInfo classInfo,
LyObjectList context)
Constructor for the find action |
Method Summary | |
---|---|
LyFieldInfo |
getFieldInfo()
Field info used for search. |
LyInfoList<LyFieldInfo> |
getFields()
Gets fields available for find action. |
java.lang.String |
getPattern()
Search pattern. |
void |
hideView(boolean free)
Hide the view. |
boolean |
isCaseSensitive()
Case-sensitive. |
boolean |
isVisible()
Returns visible state. |
boolean |
isWholeWord()
Whole word. |
void |
setCaseSensitive(boolean sensitive)
Set the case sensitive status |
void |
setFieldInfo(LyFieldInfo fieldInfo)
Field info used for search. |
void |
setPattern(java.lang.String pattern)
Search pattern. |
void |
setWholeWord(boolean word)
Set the whole word search mode |
void |
showView()
Make the view visible to the user. |
void |
updateFindMenu(LyAreaController parent)
Update the find menuitem status. |
Methods inherited from class leon.control.LyUserInputController |
---|
actionDemand, 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.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 |
---|
public static final java.lang.String __VERSION
public static final java.lang.String DEMAND_FIND
public static final java.lang.String DEMAND_CLOSE_FIND
public static final java.lang.String DEMAND_NEXT
public static final java.lang.String DEMAND_PREVIOUS
public static final java.lang.String DEMAND_FIND_PATTERN
public static final java.lang.String DEMAND_FIND_FIELD
public static final java.lang.String DEMAND_FIND_WHOLE_WORD
public static final java.lang.String DEMAND_FIND_CASE_SENSITIVE
Constructor Detail |
---|
public LyFindController(LySession session, LyController parent, LyAction action, LyClassInfo classInfo, LyObjectList context)
session
- the current sessionparent
- the parent actionaction
- the action to invokeclassInfo
- a classinfocontext
- the current contextMethod Detail |
---|
public java.lang.String getPattern()
public void setPattern(java.lang.String pattern)
pattern
- the pattern to setpublic LyFieldInfo getFieldInfo()
public void setFieldInfo(LyFieldInfo fieldInfo)
fieldInfo
- the fieldInfo to usepublic boolean isWholeWord()
public void setWholeWord(boolean word)
word
- the whole word search modepublic boolean isCaseSensitive()
public void setCaseSensitive(boolean sensitive)
sensitive
- the statuspublic LyInfoList<LyFieldInfo> getFields()
public void showView()
showView
in class LyAreaController
public void hideView(boolean free)
hideView
in class LyAreaController
free
- indicates if this controller must be freedpublic boolean isVisible()
public void updateFindMenu(LyAreaController parent)
parent
- parent controller
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |