ilog.cpl.table.selection
Class IlpAllArea

java.lang.Object
  extended by ilog.cpl.table.selection.IlpArea
      extended by ilog.cpl.table.selection.IlpAllArea

public class IlpAllArea
extends IlpArea

This class models an area that represents the whole table. It is currently used to support the selectAll operation.

Since:
JTGO 4.0

Constructor Summary
IlpAllArea(Collection ros, Collection attribs)
          Creates an area with a set of representation objects and a set of attributes.
IlpAllArea(Collection ros, Collection attribs, boolean copy)
          Creates an area with a set of representation objects and a set of attributes.
 
Method Summary
 IlpArea getAttributesArea()
          Returns a new area that contains only the attributes.
 IlpArea getRepresentationObjectsArea()
          Returns a new area that contains only the representation objects.
 boolean isSelectAll()
          Indicates if this area represents a complete selection in the table.
 
Methods inherited from class ilog.cpl.table.selection.IlpArea
contains, contains, equals, getAttributes, getIntersection, getRepresentationObjects, isEmpty, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IlpAllArea

public IlpAllArea(Collection ros,
                  Collection attribs)
Creates an area with a set of representation objects and a set of attributes.

Parameters:
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.

IlpAllArea

public IlpAllArea(Collection ros,
                  Collection attribs,
                  boolean copy)
Creates an area with a set of representation objects and a set of attributes.

Parameters:
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.
Since:
JViews 7.5
Method Detail

getAttributesArea

public IlpArea getAttributesArea()
Returns a new area that contains only the attributes.

Overrides:
getAttributesArea in class IlpArea
Returns:
A new area with attributes only.
Since:
JTGO 4.0

getRepresentationObjectsArea

public IlpArea getRepresentationObjectsArea()
Returns a new area that contains only the representation objects.

Overrides:
getRepresentationObjectsArea in class IlpArea
Returns:
A new area with representation objects only.
Since:
JTGO 4.0

isSelectAll

public boolean isSelectAll()
Indicates if this area represents a complete selection in the table.

Overrides:
isSelectAll in class IlpArea
Returns:
true if the selection area represents all the table


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.