Overview | Package | Class | Use | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.togethersoft.openapi.ide.inspector.util.property
Class ReadOnlyProperty

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

public class ReadOnlyProperty
extends IdeInspectorProperty

Represents read-only inspector property.

Author:
  TogetherSoft

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

Constructor Summary
`ReadOnlyProperty(Object value, Class valueType)` Constructs ReadOnlyProperty with specified value and value type.

Method Summary
`boolean` | `canSetValue(Object value)` Checks whether it is possible to set new value to this property.
`Object` | `getValue()` Returns value of this property.
`boolean` | `isReadable()` Checks whether it is possible to read value of this property.
`boolean` | `isWritable()` Checks whether it is possible to write value to this property.
`void` | `setValue(Object value)` Stub method.

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

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

### ReadOnlyProperty

    public ReadOnlyProperty(Object value, Class valueType)

  Constructs ReadOnlyProperty with specified value and value type.
  Parameters:
    value - Value of property
    valueType - Type of property

Method Detail

### canSetValue

    public boolean canSetValue(Object value)

  Checks whether it is possible to set new value to this property.
  Parameters:
    value - Value to be checked
  Returns: Always false

### getValue

    public Object getValue()

  Returns value of this property.
  Returns: Value of this property

### isReadable

    public boolean isReadable()

  Checks whether it is possible to read value of this property.
  Returns: Always true

### isWritable

    public boolean isWritable()

  Checks whether it is possible to write value to this property.
  Returns: Always true

### setValue

    public void setValue(Object value)

  Stub method. Does nothing.

Overview | Package | Class | Use | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD