ilog.tgo.model
Class IltOffPageConnector.Type

java.lang.Object
  extended by ilog.util.IlEnum
      extended by ilog.tgo.model.IltOffPageConnector.Type
Enclosing class:
IltOffPageConnector

public static class IltOffPageConnector.Type
extends IlEnum

This enumeration lists the types of off-page connectors.

Each off-page connector type must be mapped to a graphic representation, which defines how the object base is displayed. The graphic representation is defined by an IltOPCBaseRenderer. In order to map a new graphic representation to a given type, you should register the type and the corresponding IltOPCBaseRenderer factory using IltSettings.SetValue. The following example illustrates how this mapping can be achieved:

 IltBaseRendererFactory factory = new IltBaseRendererFactory() {
   public IltBaseRenderer createValue (IltObject o) {
     return IltOPCBaseRenderer.Standard();
   }
 };
 IltSettings.SetValue("OffPageConnector.Type.Standard.Renderer", factory );
 

Once you create a new type, register the following resources in the ILOG JTGO resource bundle in order to have this type attribute properly represented in the Table component:

 ilog.tgo.OPC_Type_=

Since:
JTGO 4.0
See Also:
IltOPCBaseRenderer, IltOPCImageBaseRendererFactory, IltBaseRendererFactory, IltSettings.SetValue(java.lang.Object, java.lang.Object)

Field Summary
static IltOffPageConnector.Type Managed
          This type stands for an Off-Page connector that represents a managed entity in the system.
static IlEnumInfo metainfo
          Contains metainformation about this IlEnum class.
static IltOffPageConnector.Type MultipleManaged
          This type stands for an Off-Page connector that represents multiple entities that are managed by the system.
static IltOffPageConnector.Type MultipleUnmanaged
          This type stands for an Off-Page connector that represents multiple entities that are not managed by the system.
static IltOffPageConnector.Type SingleManaged
          This type stands for an Off-Page connector that represents a single entity that is managed by the system.
static IltOffPageConnector.Type SingleUnmanaged
          This type stands for an Off-Page connector that represents a single entity that is not managed by the system.
static IltOffPageConnector.Type Standard
          This type stands for a standard Off-Page Connector representation.
static IltOffPageConnector.Type Unmanaged
          This type stands for an Off-Page connector that represents an entity that is not being managed by the system.
 
Constructor Summary
IltOffPageConnector.Type()
          Default constructor.
IltOffPageConnector.Type(String name)
          Creates a new type.
 
Method Summary
 void setName(String name)
          Sets the name of this object.
 
Methods inherited from class ilog.util.IlEnum
getName, intern, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

metainfo

public static IlEnumInfo metainfo
Contains metainformation about this IlEnum class.

Internal method or field: do not use!

Standard

public static IltOffPageConnector.Type Standard
This type stands for a standard Off-Page Connector representation.


Managed

public static IltOffPageConnector.Type Managed
This type stands for an Off-Page connector that represents a managed entity in the system.

Since:
JTGO 4.0

SingleManaged

public static IltOffPageConnector.Type SingleManaged
This type stands for an Off-Page connector that represents a single entity that is managed by the system.

Since:
JTGO 4.0

MultipleManaged

public static IltOffPageConnector.Type MultipleManaged
This type stands for an Off-Page connector that represents multiple entities that are managed by the system.

Since:
JTGO 4.0

Unmanaged

public static IltOffPageConnector.Type Unmanaged
This type stands for an Off-Page connector that represents an entity that is not being managed by the system.

Since:
JTGO 4.0

SingleUnmanaged

public static IltOffPageConnector.Type SingleUnmanaged
This type stands for an Off-Page connector that represents a single entity that is not managed by the system.

Since:
JTGO 4.0

MultipleUnmanaged

public static IltOffPageConnector.Type MultipleUnmanaged
This type stands for an Off-Page connector that represents multiple entities that are not managed by the system.

Since:
JTGO 4.0
Constructor Detail

IltOffPageConnector.Type

public IltOffPageConnector.Type(String name)
Creates a new type.

Parameters:
name - A unique name, used for serialization purposes.

IltOffPageConnector.Type

public IltOffPageConnector.Type()
Default constructor. This constructor is used by CSS styling mechanism and is not meant to be called directly.

Internal method or field: do not use!
Method Detail

setName

public void setName(String name)
Sets the name of this object. This method is used by CSS styling mechanism and is not meant to be called directly.

Overrides:
setName in class IlEnum
Internal method or field: do not use!


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