ilog.tgo.resource
Class IltrFont

java.lang.Object
  extended by ilog.tgo.resource.IltrFont

public abstract class IltrFont
extends Object

This class contains all global fonts used by TGO.

Any change to these parameters must occur before the call to IltSystem.Init(), and before any reference to class IltrTextPalette.


Field Summary
static Font AlarmText
           
static Font CardText
           
static Font CounterText
           
static Font EmptySlotText
           
static Font GroupNameText
           
static Font InfoWindowText
           
static Font LinkNameText
           
static Font LogicalElementText
           
static Font LogicalGroupText
           
static Font NEFamilyText
           
static Font NodeNameText
           
static Font OffPageConnectorNameText
           
static Font ShelfText
           
static Font TinyElementText
           
static Font ToolTipText
          Deprecated.  
 
Method Summary
static Font Get(String name)
          Returns the font with the given name.
static Font NewFont(String name, String fname, int style, int size)
          Creates a new font, and puts it into the table under a given name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AlarmText

public static Font AlarmText

InfoWindowText

public static Font InfoWindowText

NEFamilyText

public static Font NEFamilyText

NodeNameText

public static Font NodeNameText

GroupNameText

public static Font GroupNameText

ShelfText

public static Font ShelfText

CardText

public static Font CardText

EmptySlotText

public static Font EmptySlotText

OffPageConnectorNameText

public static Font OffPageConnectorNameText

LinkNameText

public static Font LinkNameText

LogicalGroupText

public static Font LogicalGroupText

LogicalElementText

public static Font LogicalElementText

TinyElementText

public static Font TinyElementText

CounterText

public static Font CounterText

ToolTipText

public static Font ToolTipText
Deprecated. 
Deprecated Since:
JTGO 4.0
Method Detail

Get

public static Font Get(String name)
Returns the font with the given name.


NewFont

public static Font NewFont(String name,
                           String fname,
                           int style,
                           int size)
Creates a new font, and puts it into the table under a given name.

Parameters:
name - the name under which the font will be stored in the table
fname - the Java name of the font (see java.awt.Toolkit.getFontList())
style - the style of the font
size - the vertical size of the font (in "points", 1 point = 1/72 inch)


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