|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.util.IlEnum
ilog.tgo.model.IltOffPageConnector.Type
public static class IltOffPageConnector.Type
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_=
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 |
|---|
public static IlEnumInfo metainfo
IlEnum class.
public static IltOffPageConnector.Type Standard
public static IltOffPageConnector.Type Managed
public static IltOffPageConnector.Type SingleManaged
public static IltOffPageConnector.Type MultipleManaged
public static IltOffPageConnector.Type Unmanaged
public static IltOffPageConnector.Type SingleUnmanaged
public static IltOffPageConnector.Type MultipleUnmanaged
| Constructor Detail |
|---|
public IltOffPageConnector.Type(String name)
name - A unique name, used for serialization purposes.public IltOffPageConnector.Type()
| Method Detail |
|---|
public void setName(String name)
setName in class IlEnum
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||