Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

giny.view
Interface Label  view Label download Label.java


public interface Label


Field Summary
static int CENTER
           
static int EAST
           
static int NORTH
           
static int NORTHEAST
           
static int NORTHWEST
           
static int SOURCE_BOUND
           
static int SOUTH
           
static int SOUTHEAST
           
static int SOUTHWEST
           
static int TARGET_BOUND
           
static int WEST
           
 
Method Summary
 java.lang.String getText()
          get the text of this label
 void setFont(java.awt.Font font)
          Set the Font
 void setPositionHint(int position)
          Give the Label a hint on where to draw itself.
 void setSize(int points)
          Set the Size of the label
 void setText(java.lang.String text)
          Set the Text for this Label
 

Field Detail

CENTER

public static final int CENTER
See Also:
Constant Field Values

NORTH

public static final int NORTH
See Also:
Constant Field Values

SOUTH

public static final int SOUTH
See Also:
Constant Field Values

WEST

public static final int WEST
See Also:
Constant Field Values

EAST

public static final int EAST
See Also:
Constant Field Values

NORTHWEST

public static final int NORTHWEST
See Also:
Constant Field Values

NORTHEAST

public static final int NORTHEAST
See Also:
Constant Field Values

SOUTHEAST

public static final int SOUTHEAST
See Also:
Constant Field Values

SOUTHWEST

public static final int SOUTHWEST
See Also:
Constant Field Values

SOURCE_BOUND

public static final int SOURCE_BOUND
See Also:
Constant Field Values

TARGET_BOUND

public static final int TARGET_BOUND
See Also:
Constant Field Values
Method Detail

setText

public void setText(java.lang.String text)
Set the Text for this Label


getText

public java.lang.String getText()
get the text of this label


setPositionHint

public void setPositionHint(int position)
Give the Label a hint on where to draw itself. NOTE: This should be thought of as a hint only, not all labels will support all positions


setFont

public void setFont(java.awt.Font font)
Set the Font


setSize

public void setSize(int points)
Set the Size of the label