com.togethersoft.openapi.ide.inspector.util.property
Class RwiInspectorIntegerProperty

java.lang.Object
  |
  +--java.beans.FeatureDescriptor
        |
        +--com.togethersoft.openapi.ide.inspector.IdeInspectorProperty
              |
              +--com.togethersoft.openapi.ide.inspector.util.property.RwiInspectorProperty
                    |
                    +--com.togethersoft.openapi.ide.inspector.util.property.RwiInspectorIntegerProperty

public class RwiInspectorIntegerProperty
extends RwiInspectorProperty

Suited to works with integer properties of selected RwiElements (RwiRefernces).

Author:
TogetherSoft

Fields inherited from class com.togethersoft.openapi.ide.inspector.util.property.RwiInspectorProperty
myEnforceReadOnly, myPropertyName, myReadableFlag, myRwiPropertyMaps, myValue, myWritableFlag

Fields inherited from class com.togethersoft.openapi.ide.inspector.IdeInspectorProperty
MULTI_VALUE_TAG, PROP_VALUE, UNDEFINED_VALUE

Constructor Summary
RwiInspectorIntegerProperty(RwiPropertyMap[] rwiPropertyMaps, String propertyName)
           Constructs RwiInspectorIntegerProperty without a property editor class.
RwiInspectorIntegerProperty(RwiPropertyMap rwiPropertyMap, String propertyName)
           Constructs RwiInspectorIntegerProperty without a property editor class for the only RwiElement (RwiReference).

Method Summary
 booleancanSetValue(Object value)
           Checks whether it is possible to set specified value to this property.
 protected voidloadValue()
           Loads property value of selected RwiElements (RwiReferences) from RwiModel and stores it.
 protected voidstoreValue()
           Stores property value of selected RwiElements (RwiReferences) to RwiModel.

Methods inherited from class com.togethersoft.openapi.ide.inspector.util.property.RwiInspectorProperty
enforceReadOnly, getValue, isDeleted, isReadable, isWritable, setValue, update

Methods inherited from class com.togethersoft.openapi.ide.inspector.IdeInspectorProperty
addPropertyChangeListener, firePropertyChange, getPropertyEditor, getValueType, removePropertyChangeListener, setPropertyEditor

Methods inherited from class java.beans.FeatureDescriptor
getName, setName, getDisplayName, setDisplayName, isExpert, setExpert, isHidden, setHidden, isPreferred, setPreferred, getShortDescription, setShortDescription, setValue, getValue, attributeNames

Methods inherited from class java.lang.Object
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize

Constructor Detail

RwiInspectorIntegerProperty

public RwiInspectorIntegerProperty(RwiPropertyMap[] rwiPropertyMaps, String propertyName)
Constructs RwiInspectorIntegerProperty without a property editor class.
Parameters:
rwiPropertyMaps - Array of selected RwiElements or RwiReferences
propertyName - Name of property of selected elements

RwiInspectorIntegerProperty

public RwiInspectorIntegerProperty(RwiPropertyMap rwiPropertyMap, String propertyName)
Constructs RwiInspectorIntegerProperty without a property editor class for the only RwiElement (RwiReference).
Parameters:
rwiPropertyMap - Selected RwiElement or RwiReferences
propertyName - Name of property of selected elements
Method Detail

canSetValue

public boolean canSetValue(Object value)
Checks whether it is possible to set specified value to this property.
Parameters:
object - Value to be checked
Returns: true if so, false otherwise

loadValue

protected void loadValue()
Loads property value of selected RwiElements (RwiReferences) from RwiModel and stores it.

storeValue

protected void storeValue()
Stores property value of selected RwiElements (RwiReferences) to RwiModel.