org.geotools.swt.styling.simple
Class FontEditor
Object
FontEditor
public class FontEditor
- extends Object
A "button" with an icon/text that pops up the font window.
- Since:
- 0.6.0
- Author:
- aalam
Constructor Summary |
FontEditor(Composite parent)
|
FontEditor(Composite parent,
SelectionListener parentListener)
|
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FontEditor
public FontEditor(Composite parent)
FontEditor
public FontEditor(Composite parent,
SelectionListener parentListener)
setListener
public void setListener(SelectionListener parentListener)
clearListener
public void clearListener()
getColor
public Color getColor()
getAWTColor
public Color getAWTColor()
getFont
public Font getFont()
- Returns the currently selected font object
- Returns:
- Font
getFontList
public FontData[] getFontList()
setFontList
public void setFontList(FontData[] list)
getColorValue
public RGB getColorValue()
setColorValue
public void setColorValue(RGB rgb)
setColorValue
public void setColorValue(Color colour)
getButton
public Button getButton()
setEnabled
public void setEnabled(boolean enabled)
Copyright © 1996-2014 Geotools. All Rights Reserved.