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

org.netbeans.jellytools.properties
Class ColorProperty

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

public class ColorProperty
extends Property

Operator serving property of type Color


Field Summary
 
Fields inherited from class org.netbeans.jellytools.properties.Property
CHECKBOX_RENDERER, COMBOBOX_RENDERER, property, propertySheetOper, RADIOBUTTON_RENDERER, SET_RENDERER, STRING_RENDERER
 
Constructor Summary
ColorProperty(PropertySheetOperator propertySheetOper, String name)
          Creates a new instance of ColorProperty
 
Method Summary
 Color getColorValue()
          getter for Color value through Custom Editor
 ColorCustomEditorOperator invokeCustomizer()
          invokes custom property editor and returns proper custom editor operator
 void setColorValue(Color value)
          setter for Color value through Custom Editor
 void setRGBValue(int r, int g, int b)
          getter for RGB 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
 

Constructor Detail

ColorProperty

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

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

invokeCustomizer

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

Returns:
ColorCustomEditorOperator

setRGBValue

public void setRGBValue(int r,
                        int g,
                        int b)
getter for RGB value through Custom Editor

Parameters:
r - int red
g - int green
b - int blue

setColorValue

public void setColorValue(Color value)
setter for Color value through Custom Editor

Parameters:
value - Color

getColorValue

public Color getColorValue()
getter for Color value through Custom Editor

Returns:
Color

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.