ilog.tgo.resource
Class IltDefaultLookAndFeel

java.lang.Object
  extended by ilog.tgo.resource.IltDefaultLookAndFeel
All Implemented Interfaces:
IltLookAndFeel

public class IltDefaultLookAndFeel
extends Object
implements IltLookAndFeel

This class models the default implementation of a JTGO Look and Feel.

JTGO Look and Feel is responsible for storing information about how object attributes, states and alarm information is mapped to decorations in order to create the graphic representation.

Since:
JViews 7.5

Constructor Summary
IltDefaultLookAndFeel(String lfname)
          Default constructor
 
Method Summary
 Hashtable getDefaults()
          This method is called once by IltUIManager.setLookAndFeel to create the look and feel specific configuration table.
 String getName()
          Returns a String that identifies this look and feel.
 void initialize()
          IltSettings.setLookAndFeel calls this method before the first call to getDefaults.
 void lazyInitialize(Object key)
          Hook which allows the look & feel implementation to perform lazy initialization of values.
 void uninitialize()
          IltSettings.setLookAndFeel calls this method just before replacing this look and feel by a new one.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IltDefaultLookAndFeel

public IltDefaultLookAndFeel(String lfname)
Default constructor

Parameters:
lfname - Look and Feel name
Method Detail

getName

public String getName()
Returns a String that identifies this look and feel.

Specified by:
getName in interface IltLookAndFeel

getDefaults

public Hashtable getDefaults()
This method is called once by IltUIManager.setLookAndFeel to create the look and feel specific configuration table.

Specified by:
getDefaults in interface IltLookAndFeel

lazyInitialize

public void lazyInitialize(Object key)
Hook which allows the look & feel implementation to perform lazy initialization of values. This method is called whenever a value is set or retrieved from the default settings. At this point, the look & feel implementation can initialize values in the table before they are changed or retrieved by the user.

When overriding this method, always call its super class implementation.

Specified by:
lazyInitialize in interface IltLookAndFeel
Parameters:
key - Setting that is being set or queried
See Also:
IltSettings.SetValue(Object, Object), IltSettings.GetValue(Object)

initialize

public void initialize()
IltSettings.setLookAndFeel calls this method before the first call to getDefaults.

Specified by:
initialize in interface IltLookAndFeel

uninitialize

public void uninitialize()
IltSettings.setLookAndFeel calls this method just before replacing this look and feel by a new one.

Specified by:
uninitialize in interface IltLookAndFeel
See Also:
IltSettings.setLookAndFeel(IltLookAndFeel)


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