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

## ru.biosoft.plugins.javascript
Class PropertyInfo

    java.lang.Object
      ru.biosoft.access.DataElementSupport
          ru.biosoft.plugins.javascript.PropertyInfo

All Implemented Interfaces:
  DataElement

public class PropertyInfo
extends DataElementSupport

Provides description for property of JavaScript class or host object.

`PropertyInfo` implements `DataElement` interface, so it can be shown in repository tree.

See Also:
  `JScriptContext.defineFunction(org.eclipse.core.runtime.IConfigurationElement, org.mozilla.javascript.Context, org.mozilla.javascript.ScriptableObject, ru.biosoft.access.DataCollection)`

Field Summary
`protected java.lang.String` | `description` The function description

Constructor Summary
`PropertyInfo(java.lang.String name, DataCollection parent)` Creates info for the specified property.

Method Summary
`java.lang.String` | `generateHtml()`
`java.lang.String` | `getDescription()`
`java.lang.String` | `getType()`
`boolean` | `isReadOnly()`
`void` | `setDescription(java.lang.String description)`
`void` | `setReadOnly(boolean readOnly)`
`void` | `setType(java.lang.String type)`
`java.lang.String` | `toString()`
`java.lang.String` | `toString(boolean isHtml)`

Methods inherited from class ru.biosoft.access.DataElementSupport
`getName, getOrigin, registerConstructorWithBadEqual`

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

Field Detail

### description

    protected java.lang.String description

  The function description

Constructor Detail

### PropertyInfo

    public PropertyInfo(java.lang.String name,
                        DataCollection parent)

  Creates info for the specified property.

Parameters:
  `name` - - property name
  `parent` - - info for host object or class to which this property belongs. Generally it is `plugins/Javascript/host objects/object` or `plugins/Javascript/classes/class`.

Method Detail

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `DataElementSupport`

### generateHtml

    public java.lang.String generateHtml()

### toString

    public java.lang.String toString(boolean isHtml)

### getType

    public java.lang.String getType()

### setType

    public void setType(java.lang.String type)

### isReadOnly

    public boolean isReadOnly()

### setReadOnly

    public void setReadOnly(boolean readOnly)

### getDescription

    public java.lang.String getDescription()

### setDescription

    public void setDescription(java.lang.String description)

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

Copyright © 2001-2003 Biosof.Ru. All Rights Reserved.