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

org.netbeans.jellytools.properties
Class DimensionProperty

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

public class DimensionProperty
extends Property

Operator serving property of type Dimension


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
DimensionProperty(PropertySheetOperator propertySheetOper, String name)
          Creates a new instance of DimensionProperty
 
Method Summary
 String[] getDimensionValue()
          getter for Dimension valuethrough Custom Editor
 DimensionCustomEditorOperator invokeCustomizer()
          invokes custom property editor and returns proper custom editor operator
 void setDimensionValue(String width, String height)
          setter for Dimension valuethrough 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

DimensionProperty

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

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

invokeCustomizer

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

Returns:
DimensionCustomEditorOperator

setDimensionValue

public void setDimensionValue(String width,
                              String height)
setter for Dimension valuethrough Custom Editor

Parameters:
width - String width
height - String height

getDimensionValue

public String[] getDimensionValue()
getter for Dimension valuethrough Custom Editor

Returns:
String[2] width and height

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.