ilog.tgo.model
Class IltMisc

java.lang.Object
  extended by ilog.tgo.model.IltMisc

public class IltMisc
extends Object

This class provides the state system which contains the class IltMisc.SecState. The latter class defines a number of useful secondary states that are absent from the standards.


Nested Class Summary
static class IltMisc.SecState
           
 
Constructor Summary
protected IltMisc()
           
 
Method Summary
static void ForceInit(ilog.tgo.util.internal.IltForceClassInit object)
           
static IltMisc.SecState NewSecState(String name, String description)
          Creates a new instance of IltMisc.SecState.
static IltStateSystem StateSystem()
          Returns the only instance of IltAlarm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IltMisc

protected IltMisc()
Internal method or field: do not use!
Method Detail

StateSystem

public static IltStateSystem StateSystem()
Returns the only instance of IltAlarm

Internal method or field: do not use!

NewSecState

public static IltMisc.SecState NewSecState(String name,
                                           String description)
Creates a new instance of IltMisc.SecState.

Once created, this instance can be associated with a graphic representation. A Misc state can be represented as an icon. This configuration is defined through method IltSettings.SetValue, as follows:

     IltMisc.SecState state = IltMist.NewSecState("Misc.SecState.NeedUpgrade", "Indicates that the element needs to be upgraded.");
     IltSettings.SetValue("Misc.SecState.NeedUpgrade.Icon", image);
 

Parameters:
name - a unique name
description - the state's description, according to the current locale
See Also:
IltSettings.SetValue(java.lang.Object, java.lang.Object), IltState.intern()

ForceInit

public static void ForceInit(ilog.tgo.util.internal.IltForceClassInit object)
Internal method or field: do not use!


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