# com.bea.ide.ui.palette
DataPaletteViewProps Class

public class DataPaletteViewProps
extends `Object`

Class used to define and specify data palette properties. All legal data palette view styles that cannot be expressed through the data palette api's are expressed through this class.

Hierarchy
  `Object`
  `DataPaletteViewProps`

## Field Summary

`public static final `String`` | `PROP_IAction` Property specifying an IAction implementation.
`public static final `String`` | `PROP_JPopupMenu` A row property value.
`public static final `String`` | `PROP_PopupMenuID` A row property value.
`public static final `String`` | `PROP_RowStyle` A row property value.
`public static final `String`` | `STYLE_GridRow` A row style value.
`public static final `String`` | `STYLE_HeaderRow` A row style value.
`public static final `String`` | `STYLE_LabelRow` A row style value.

## Constructor Summary

DataPaletteViewProps()

## Method Summary

`public `Object`` | `getProperty`(`String` sProp) Searches for the property with the specified key in the property list.
`public boolean` | `hasProperty`(`String` sProp) Determines if the property with the specified key exists in this list.
`public void` | `setProperty`(`String` sProp, `Object` oValue) Associates the value with the specified property.

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

## Field Detail

### PROP_IAction

    public static final String PROP_IAction

  Property specifying an IAction implementation.

### PROP_JPopupMenu

    public static final String PROP_JPopupMenu

  A row property value. Can be used to specify an instance of a JPopupMenu to be associated with a row. If this property is specified, a button on the row will be created.

### PROP_PopupMenuID

    public static final String PROP_PopupMenuID

  A row property value. Can be used to specify a menu id to be associated with a row. If this property is specified, a button on the row will be created.

### PROP_RowStyle

    public static final String PROP_RowStyle

  A row property value. Can be used to specify a particular row style. See the style types below.

### STYLE_GridRow

    public static final String STYLE_GridRow

  A row style value. Creates a row in the data palette which has two columns representing a key/value property style.

### STYLE_HeaderRow

    public static final String STYLE_HeaderRow

  A row style value. Creates a row in the data palette which has a shaded background and represents a row which contains child elements.

### STYLE_LabelRow

    public static final String STYLE_LabelRow

  A row style value. Creates a row in the data palette which has an icon and name. LabelRow's are typically used for palette items which can be dragged onto design surfaces.

## Constructor Detail

### DataPaletteViewProps

    public DataPaletteViewProps()

## Method Detail

### getProperty(String) Method

    public Object getProperty(String sProp)

Searches for the property with the specified key in the property list.

#### Parameters

sProp
  The property to get.

#### Returns

The property's value.

### hasProperty(String) Method

    public boolean hasProperty(String sProp)

Determines if the property with the specified key exists in this list.

#### Parameters

sProp
  The property to check for.

#### Returns

true if the property exists; false if it doesn't.

### setProperty(String, Object) Method

    public void setProperty(String sProp,
                            Object oValue)

Associates the value with the specified property.

#### Parameters

sProp
  The property to set.

oValue
  The property's new value.