Class LogicByLoadedList
java.lang.Object
org.eclnt.ccaddons.pbc.util.combofieldidtext.LogicByLoadedList
- All Implemented Interfaces:
CCComboFieldIdText.ILogic
- Direct Known Subclasses:
LogicByResource
Implementation of Logic for control
CCComboFieldIdText
. The valid
values are passed by the corresponding addObject(String, String)
method and then are used as base for the selection processing.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
findObjects
(String searchString) Search for objects.Retrieve the text for the id.void
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclnt.ccaddons.pbc.CCComboFieldIdText.ILogic
getId, setId
-
Constructor Details
-
LogicByLoadedList
public LogicByLoadedList()
-
-
Method Details
-
addObject
-
addObject
-
clearObjects
public void clearObjects() -
sortObjectsByText
public void sortObjectsByText() -
sortObjectsById
public void sortObjectsById() -
getIdTextObjectForId
Description copied from interface:CCComboFieldIdText.ILogic
Retrieve the text for the id. This method must return some value!- Specified by:
getIdTextObjectForId
in interfaceCCComboFieldIdText.ILogic
-
findObjects
Description copied from interface:CCComboFieldIdText.ILogic
Search for objects.- Specified by:
findObjects
in interfaceCCComboFieldIdText.ILogic
- Parameters:
searchString
- Current user input. May be null.- Returns:
- List of found objects.
-