org.netbeans.modules.jellytools.platform/3 3.13

org.netbeans.jellytools.properties
Class FontProperty

java.lang.Object
  extended by org.netbeans.jellytools.properties.Property
      extended by org.netbeans.jellytools.properties.FontProperty

public class FontProperty
extends Property

Operator serving property of type Font


Field Summary
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
 
Fields inherited from class org.netbeans.jellytools.properties.Property
CHECKBOX_RENDERER, COMBOBOX_RENDERER, property, propertySheetOper, RADIOBUTTON_RENDERER, SET_RENDERER, STRING_RENDERER
 
Constructor Summary
FontProperty(PropertySheetOperator propertySheetOper, String name)
          Creates a new instance of FontProperty
 
Method Summary
 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
 
Methods inherited from class org.netbeans.jellytools.properties.Property
canEditAsText, getName, getRendererName, getRow, getShortDescription, getValue, isEnabled, openEditor, setDefaultValue, setValue, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STYLE_PLAIN

public static final String STYLE_PLAIN
String constant for plain font style


STYLE_BOLD

public static final String STYLE_BOLD
String constant for bold font style


STYLE_ITALIC

public static final String STYLE_ITALIC
String constant for italic font style


STYLE_BOLDITALIC

public static final String STYLE_BOLDITALIC
String constant for bold italic font style

Constructor Detail

FontProperty

public FontProperty(PropertySheetOperator propertySheetOper,
                    String name)
Creates a new instance of FontProperty

Parameters:
propertySheetOper - PropertySheetOperator where to find property.
name - String property name
Method Detail

invokeCustomizer

public FontCustomEditorOperator invokeCustomizer()
invokes custom property editor and returns proper custom editor operator

Returns:
FontCustomEditorOperator

setFontValue

public void setFontValue(String fontName,
                         String fontStyle,
                         String fontSize)
setter for Font value through Custom Editor

Parameters:
fontName - String font name
fontStyle - String font style
fontSize - String font size

getFontValue

public String[] getFontValue()
getter for Font value through Custom Editor

Returns:
String[3] font name, font style and font size

verify

public void verify()
Performs verification by accessing all sub-components


org.netbeans.modules.jellytools.platform/3 3.13

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.