| java.lang.Object com.javujavu.javux.wings.extra.FontItem
FontItem | public class FontItem implements ItemRenderer(Code) | | This class is a self-rendering label implementing ItemRederer ,
that can display multiline text using specified font.
Object of this class can be used instead of String labels
in labels, buttons, checkboxes, menus and so on, and as an item
in lists, combo boxes, tables and so on.
This in an extra class, NOT a part of base WingS component set.
This class is thread safe.
|
Method Summary | |
public void | drawItem(Graphics g, int x, int y, int width, int height, Object item, WingComponent owner, Style style, Insets margin, int alignment, int textPosition, Object context) | public Dimension | getItemSize(Object item, WingComponent owner, Style style, Object context) | public boolean | imageUpdate(Image img, int infoflags, int x, int y, int width, int height, Object item, WingComponent owner, Style style, Rectangle itemBounds) | public String | toString() |
drawItem | public void drawItem(Graphics g, int x, int y, int width, int height, Object item, WingComponent owner, Style style, Insets margin, int alignment, int textPosition, Object context)(Code) | | |
|
|