|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.table.selection.IlpArea
public class IlpArea
An area defines an intersection between a set of representation objects
and a set of attributes.
These sets can be empty:
| Constructor Summary | |
|---|---|
IlpArea()
Creates an empty area. |
|
IlpArea(Collection ros,
Collection attribs)
Creates an area with a set of representation objects and a set of attributes. |
|
IlpArea(Collection ros,
Collection attribs,
boolean copy)
Creates an area with a set of representation objects and a set of attributes. |
|
IlpArea(IlpRepresentationObject object,
IlpAttribute attribute)
Creates an area representing a particular attribute of a particular representation object. |
|
| Method Summary | |
|---|---|
boolean |
contains(IlpArea area)
Returns true if the current area contains the given area. |
boolean |
contains(IlpRepresentationObject object,
IlpAttribute attribute)
Returns true if the current area contains the area
defined by the given representation object and attribute. |
boolean |
equals(Object anObject)
Returns false if the given object is not an instance of
IlpArea or is not equal to the current area. |
Collection |
getAttributes()
Returns the set of attributes defining this area. |
IlpArea |
getAttributesArea()
Returns a new area that contains only the attributes. |
IlpArea |
getIntersection(IlpArea area)
Returns an area representing the intersection of the current area and the given one. |
Collection |
getRepresentationObjects()
Returns the set of representation objects defining this area. |
IlpArea |
getRepresentationObjectsArea()
Returns a new area that contains only the representation objects. |
boolean |
isEmpty()
Returns true if the set of representation objects and
the set of attributes are both empty. |
boolean |
isSelectAll()
Returns if this area represents a full selection in the table. |
String |
toString()
Returns a description of this area as a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IlpArea()
public IlpArea(IlpRepresentationObject object,
IlpAttribute attribute)
object - The representation object defining the area;
can be null.attribute - The attribute defining the area;
can be null.
public IlpArea(Collection ros,
Collection attribs)
ros - The set of representation objects defining the area;
can be null or empty.attribs - The set of attributes defining the area;
can be null or empty.
public IlpArea(Collection ros,
Collection attribs,
boolean copy)
ros - The set of representation objects defining the area;
can be null or empty.attribs - The set of attributes defining the area;
can be null or empty.copy - Flag that indicates if the set of representation
objects and the set of attributes will be copied to
the internal structures or if they will be used as
is.| Method Detail |
|---|
public Collection getRepresentationObjects()
null.
getAttributes()public Collection getAttributes()
null.
getRepresentationObjects()public boolean contains(IlpArea area)
true if the current area contains the given area.
Note: Returns true if the given area
is empty or equal to null.
area - The area which must be contained by the current one;
can be null.
true if the current area contains the given one.
public boolean contains(IlpRepresentationObject object,
IlpAttribute attribute)
true if the current area contains the area
defined by the given representation object and attribute.
object - The representation object defining the area;
can be null.attribute - The attribute defining the area;
can be null.
true if the current area contains the given one.contains(IlpArea)public boolean isEmpty()
true if the set of representation objects and
the set of attributes are both empty.
true if the area is empty.public IlpArea getIntersection(IlpArea area)
area - The area given to constitute the intersection;
can be null.
public boolean equals(Object anObject)
false if the given object is not an instance of
IlpArea or is not equal to the current area.
equals in class ObjectanObject - The area to check.
public String toString()
toString in class Objectpublic IlpArea getAttributesArea()
public IlpArea getRepresentationObjectsArea()
public boolean isSelectAll()
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||