    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class W3C.PICS.MultiLineLabel

    W3C.PICS.MultiLineLabel

public class MultiLineLabel

##

alignment
CENTER
LEFT
line_ascent
line_height
line_widths
lines
margin_height
margin_width
max_width
num_lines
RIGHT

##

MultiLineLabel(String)
MultiLineLabel(String, int)
MultiLineLabel(String, int, int)
MultiLineLabel(String, int, int, int)

##

addNotify()
getAlignment()
getMarginHeight()
getMarginWidth()
measure()
minimumSize()
newLabel(String)
paint(Graphics)
preferredSize()
setAlignment(int)
setFont(Font)
setForeground(Color)
setLabel(String)
setMarginHeight(int)
setMarginWidth(int)

##

LEFT

      public final static int LEFT

CENTER

      public final static int CENTER

RIGHT

      public final static int RIGHT

lines

      protected String lines[]

num_lines

      protected int num_lines

margin_width

      protected int margin_width

margin_height

      protected int margin_height

line_height

      protected int line_height

line_ascent

      protected int line_ascent

line_widths

      protected int line_widths[]

max_width

      protected int max_width

alignment

      protected int alignment

##

MultiLineLabel

      public MultiLineLabel(String label,
                            int margin_width,
                            int margin_height,
                            int alignment)

MultiLineLabel

      public MultiLineLabel(String label,
                            int margin_width,
                            int margin_height)

MultiLineLabel

      public MultiLineLabel(String label,
                            int alignment)

MultiLineLabel

      public MultiLineLabel(String label)

##

newLabel

      protected void newLabel(String label)

measure

      protected void measure()

setLabel

      public void setLabel(String label)

setFont

      public void setFont(Font f)

setForeground

      public void setForeground(Color c)

setAlignment

      public void setAlignment(int a)

setMarginWidth

      public void setMarginWidth(int mw)

setMarginHeight

      public void setMarginHeight(int mh)

getAlignment

      public int getAlignment()

getMarginWidth

      public int getMarginWidth()

getMarginHeight

      public int getMarginHeight()

addNotify

      public void addNotify()

preferredSize

      public Dimension preferredSize()

minimumSize

      public Dimension minimumSize()

paint

      public void paint(Graphics g)

    All Packages  Class Hierarchy  This Package  Previous  Next  Index