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
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.