edu.uci.ics.jung.visualization.graphics
Interface Label

Type Parameters:
I -
All Known Implementing Classes:
SWTLabelImpl

public interface Label

An abstract wrapper image class using generics to wrap a UI specific label. It is the responsibility of the particular rendering engine to know how to draw the underlying image.

Author:
Jason A Wrang

Method Summary
 Color getBackground()
           
 Font getFont()
           
 Color getForeground()
           
 Image getImage()
           
 Dimension getPreferredSize()
           
 String getText()
           
 boolean isOpaque()
           
 void setBackground(Color color)
           
 void setFont(Font font)
           
 void setForeground(Color color)
           
 void setImage(Image img)
           
 void setOpaque(boolean opaque)
           
 void setText(String text)
           
 

Method Detail

getText

String getText()

setText

void setText(String text)

getImage

Image getImage()

setImage

void setImage(Image img)

getForeground

Color getForeground()

setForeground

void setForeground(Color color)

getBackground

Color getBackground()

setBackground

void setBackground(Color color)

getFont

Font getFont()

setFont

void setFont(Font font)

isOpaque

boolean isOpaque()

setOpaque

void setOpaque(boolean opaque)

getPreferredSize

Dimension getPreferredSize()


Copyright © 2007. All Rights Reserved.