net.sf.doolin.gui.field
Class FieldFont<V>
java.lang.Object
net.sf.doolin.bus.bean.Bean
net.sf.doolin.gui.field.AbstractFieldDescriptor<V>
net.sf.doolin.gui.field.AbstractPropertyFieldDescriptor<V>
net.sf.doolin.gui.field.FieldFont<V>
- Type Parameters:
V - Type of bean for the view
- All Implemented Interfaces:
- Serializable, IBean, FieldDescriptor<V>
public class FieldFont<V>
- extends AbstractPropertyFieldDescriptor<V>
This field allows the user to pick a Font.
- Author:
- Damien Coraboeuf
- See Also:
- Serialized Form
| Methods inherited from class net.sf.doolin.gui.field.AbstractFieldDescriptor |
getActionFactory, getConstraint, getDisplayStateHandler, getIconService, getName, getStyle, getTransferHandler, onInit, onShow, setActionFactory, setConstraint, setDisplayState, setDisplayStateHandler, setIconService, setName, setStyle, setTransferHandler |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldFont
public FieldFont()
createField
public Field<V> createField(GUIView<V> view)
- Description copied from interface:
FieldDescriptor
- Creates a field.
- Parameters:
view - Owning view
- Returns:
- Created field
getSampleString
public String getSampleString()
- Gets the text which is used as a sample text to display the font.
- Returns:
- Sample string
setSampleString
public void setSampleString(String sampleString)
- Sets the text which is used as a sample text to display the font. It is
set by default to "aAbBcCdDeE".
- Parameters:
sampleString - Sample string
Copyright © 2011. All Rights Reserved.