ilog.cpl.util
Class IlpExpansionType

java.lang.Object
  extended by ilog.util.IlEnum
      extended by ilog.cpl.util.IlpExpansionType

public class IlpExpansionType
extends IlEnum

This class models the types of expansion supported by the graphic components.

The expansion type is used by the different graphic component adapters to identify whether an object is considered as a container or not, and how the expansion is supposed to be handled.

Compatibility Note: In JViews 8.0, this class was moved from ilog.cpl.model.IlpObject to ilog.cpl.util.

Since:
JViews 8.0
See Also:
IlpAbstractHierarchyAdapter.getExpansionType(ilog.cpl.model.IlpObject), IlpExpansionStrategy

Nested Class Summary
static class IlpExpansionType.ExpansionTypeArrayEditor
          Static property editor for the IlpExpansionType class.
static class IlpExpansionType.ExpansionTypeEditor
          Static property editor for the IlpExpansionType class.
 
Field Summary
static IlpExpansionType IN_PLACE
          In place expansion.
static IlpExpansionType IN_PLACE_MINIMAL_LOADING
          Defines an in-place expansion that minimizes the loading of children.
static IlEnumInfo metainfo
          Metainformation about expansion type enumeration.
static IlpExpansionType NO_EXPANSION
          No expansion.
 
Constructor Summary
protected IlpExpansionType(String name)
          Constructor
 
Method Summary
 
Methods inherited from class ilog.util.IlEnum
getName, intern, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

metainfo

public static final IlEnumInfo metainfo
Metainformation about expansion type enumeration.


IN_PLACE

public static final IlpExpansionType IN_PLACE
In place expansion. An object with this value may be considered as a container. It may be expanded in place.


NO_EXPANSION

public static final IlpExpansionType NO_EXPANSION
No expansion. An object with this value will never be considered as a container. It will not be expandable.


IN_PLACE_MINIMAL_LOADING

public static final IlpExpansionType IN_PLACE_MINIMAL_LOADING
Defines an in-place expansion that minimizes the loading of children. An object with this value may be considered as a container. It may be expanded in place. When using this kind of in-place expansion, you make sure that the children are loaded a minimum number of times, that is, only at expansion time. Note that objects may be considered expandable while in fact they have no children to display. For example, an object in a tree would be displayed as expandable even if it has no children, or if all its children are filtered out.

Constructor Detail

IlpExpansionType

protected IlpExpansionType(String name)
Constructor

Parameters:
name - Type name


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