|
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.data.LyObjectList
leon.data.LyWorkSpace
leon.data.LyMultiClassWorkSpace
public class LyMultiClassWorkSpace
This class implements a multi-class workspace : workspace for objects belonging to a given list of classes info and optionnally, matching a filter.
LyClassInfo
,
LyFilter
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File version |
Constructor Summary | |
---|---|
LyMultiClassWorkSpace(LyDataSession session,
LyInfoList<LyClassInfo> classInfos,
boolean dynamic)
Constructs a multi-class workspace within a given session for a list of class infos. |
|
LyMultiClassWorkSpace(LyDataSession session,
LyInfoList<LyClassInfo> classInfos,
LyFilter filter,
boolean dynamic)
Constructs a multi-class workspace within a given session for a list of class infos with specified filter applied to objects of these classes. |
|
LyMultiClassWorkSpace(LyDataSession session,
LyInfoList<LyClassInfo> classInfos,
LyFilter filter,
LySort sort,
boolean dynamic)
Constructs a multi-class workspace within a given session for a list of class infos with specified filter applied to objects of these classes and sorted by the given sort. |
|
LyMultiClassWorkSpace(LyDataSession session,
LyInfoList<LyClassInfo> classInfos,
LyFilter filter,
LySort sort,
boolean dynamic,
boolean sorted)
Internal constructor with all parameters for construction of a multi-class workpace and an additionnal one that indicates if the workspace is loaded or not. |
|
LyMultiClassWorkSpace(LyDataSession session,
LyInfoList<LyClassInfo> classInfos,
LyFilter filter,
LySort sort,
boolean dynamic,
boolean sorted,
boolean local)
Internal constructor with all parameters for construction of a multi-class workpace and an additionnal one that indicates if the workspace is loaded or not. |
Method Summary | |
---|---|
LyInfoList<LyClassInfo> |
getClasses()
Return the list of all class infos to which objects of this workspace belong. |
LyFilter |
getFilter()
Gets the filter of this class workspace. |
boolean |
objectCreated(LyDataSourceEvent event)
Method for receiving an object creation. |
boolean |
objectModified(LyDataSourceEvent event)
Method for receiving an object modification. |
boolean |
objectStateChanged(LyAdvancedDataSourceEvent event)
Called when an object state is changed. |
boolean |
objectUserEvent(LyAdvancedDataSourceEvent event)
Method for receiving user event on an object. |
void |
reset()
Method for resetting this workspace. |
java.lang.String |
toString()
Returns a string representation of this workspace. |
Methods inherited from class leon.data.LyWorkSpace |
---|
addList, addListener, dataSourceEventsGrouped, free, getListener, getListenerCount, getSession, getSources, isDynamic, isLocal, lock, objectDeleted, removeListener, unlock |
Methods inherited from class leon.data.LyObjectList |
---|
contains, delete, delete, equals, equals, getIndex, getIntersection, getList, getList, getList, getList, getList, getList, getList, getList, getList, getList, getList, getList, getObject, getObject, getObject, getObjects, getSize, getSize, getSort, getSortedList, indexOf, intersects, isEmpty, isSorted, iterator, set, setSort, setSortByName, setSorted, toObjectIds |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyMultiClassWorkSpace(LyDataSession session, LyInfoList<LyClassInfo> classInfos, boolean dynamic)
session
- Session in which the workspace is constructed.classInfos
- List of class infos to which objects of this workspace belong.dynamic
- Specifies if this workspace is dynamic or not.public LyMultiClassWorkSpace(LyDataSession session, LyInfoList<LyClassInfo> classInfos, LyFilter filter, boolean dynamic)
session
- Session in which the workspace is constructed.classInfos
- List of class infos to which objects of this workspace belong.filter
- Filter applied to objects for being in this workspace.dynamic
- Specifies if this workspace is dynamic or not.public LyMultiClassWorkSpace(LyDataSession session, LyInfoList<LyClassInfo> classInfos, LyFilter filter, LySort sort, boolean dynamic)
session
- Session in which the workspace is constructed.classInfos
- List of class infos to which objects of this workspace belong.filter
- Filter applied to objects for being in this workspace.sort
- Sort requested in this workspace.dynamic
- Specifies if this workspace is dynamic or not.public LyMultiClassWorkSpace(LyDataSession session, LyInfoList<LyClassInfo> classInfos, LyFilter filter, LySort sort, boolean dynamic, boolean sorted)
session
- Session in which the workspace is constructed.classInfos
- List of class infos to which objects of this workspace belong.filter
- Filter applied to objects for being in this workspace.sort
- Sort requested in this workspace.dynamic
- Specifies if this workspace is dynamic or not.sorted
- Indicates if this workspace must be sorted or not.public LyMultiClassWorkSpace(LyDataSession session, LyInfoList<LyClassInfo> classInfos, LyFilter filter, LySort sort, boolean dynamic, boolean sorted, boolean local)
session
- Session in which the workspace is constructed.classInfos
- List of class infos to which objects of this workspace belong.filter
- Filter applied to objects for being in this workspace.sort
- Sort requested in this workspace.dynamic
- Specifies if this workspace is dynamic or not.sorted
- Indicates if this workspace must be sorted or not.local
- Specifies if this workspace is local or not.Method Detail |
---|
public LyInfoList<LyClassInfo> getClasses()
getClasses
in class LyObjectList
public LyFilter getFilter()
public void reset()
reset
in class LyWorkSpace
public java.lang.String toString()
toString
in class LyObjectList
public boolean objectCreated(LyDataSourceEvent event)
objectCreated
in interface LyDataSourceListener
objectCreated
in class LyWorkSpace
event
- Event notifying the creation of an object.
public boolean objectModified(LyDataSourceEvent event)
objectModified
in interface LyDataSourceListener
objectModified
in class LyWorkSpace
event
- Event notifying the modification of an object.
public boolean objectStateChanged(LyAdvancedDataSourceEvent event)
objectStateChanged
in interface LyAdvancedDataSourceListener
objectStateChanged
in class LyWorkSpace
event
- Event notifying object state change.
public boolean objectUserEvent(LyAdvancedDataSourceEvent event)
objectUserEvent
in interface LyAdvancedDataSourceListener
objectUserEvent
in class LyWorkSpace
event
- Event notifying the user event of an object.
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |