public class FontProperty extends Property
| Modifier and Type | Field and Description |
|---|---|
static String |
STYLE_BOLD
String constant for bold font style
|
static String |
STYLE_BOLDITALIC
String constant for bold italic font style
|
static String |
STYLE_ITALIC
String constant for italic font style
|
static String |
STYLE_PLAIN
String constant for plain font style
|
CHECKBOX_RENDERER, COMBOBOX_RENDERER, property, propertySheetOper, RADIOBUTTON_RENDERER, SET_RENDERER, STRING_RENDERER| Constructor and Description |
|---|
FontProperty(PropertySheetOperator propertySheetOper,
String name)
Creates a new instance of FontProperty
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getFontValue()
getter for Font value through Custom Editor
|
FontCustomEditorOperator |
invokeCustomizer()
invokes custom property editor and returns proper custom editor operator
|
void |
setFontValue(String fontName,
String fontStyle,
String fontSize)
setter for Font value through Custom Editor
|
void |
verify()
Performs verification by accessing all sub-components
|
canEditAsText, getName, getRendererName, getRow, getShortDescription, getValue, isEnabled, openEditor, setDefaultValue, setValue, setValue, supportsCustomEditorpublic static final String STYLE_PLAIN
public static final String STYLE_BOLD
public static final String STYLE_ITALIC
public static final String STYLE_BOLDITALIC
public FontProperty(PropertySheetOperator propertySheetOper, String name)
propertySheetOper - PropertySheetOperator where to find property.name - String property namepublic FontCustomEditorOperator invokeCustomizer()
public void setFontValue(String fontName, String fontStyle, String fontSize)
fontName - String font namefontStyle - String font stylefontSize - String font sizepublic String[] getFontValue()
public void verify()
Built on May 16 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.