# com.bea.netuix.servlets.controls.window
WindowCapabilities Class

public class WindowCapabilities
extends `Object`

This class represents certain predefined window capabilities. Controls could define additional capabilities as required.

Hierarchy
  `Object`
  `WindowCapabilities`

## Field Summary

`protected static final `HashMap`` | `capabilityCodes` HashMap
`public static final `Capability`` | `DELETE` Delete State.
`public static final `Capability`` | `EDIT` Edit mode.
`public static final `Capability`` | `FLOAT` Float State.
`public static final `Capability`` | `HELP` Help mode.
`public static final `Capability`` | `MAXIMIZED` Maximize state.
`public static final `Capability`` | `MINIMIZED` Minimize state.
`public static final `Capability`` | `NORMAL` Normal state.
`public static final `Capability`` | `VIEW` View mode.

## Constructor Summary

WindowCapabilities()

## Method Summary

`public static `Capability`[]` | `getCapabilities`() Returns predefined capabilites of the Window object.
`public static `Capability`` | `getPredefinedCapability`(`Capability` capability) Used to determine if a given Capability is a supported capability (i.e.

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

## Field Detail

### capabilityCodes

    protected static final HashMap capabilityCodes

### DELETE

    public static final Capability DELETE

  Delete State.

### EDIT

    public static final Capability EDIT

  Edit mode.

### FLOAT

    public static final Capability FLOAT

  Float State.

### HELP

    public static final Capability HELP

  Help mode.

### MAXIMIZED

    public static final Capability MAXIMIZED

  Maximize state.

### MINIMIZED

    public static final Capability MINIMIZED

  Minimize state.

### NORMAL

    public static final Capability NORMAL

  Normal state.

### VIEW

    public static final Capability VIEW

  View mode.

## Constructor Detail

### WindowCapabilities

    public WindowCapabilities()

## Method Detail

### getCapabilities() Method

    public static Capability[] getCapabilities()

Returns predefined capabilites of the Window object.

#### Returns

an array of `Capability` objects.

### getPredefinedCapability(Capability) Method

    public static Capability getPredefinedCapability(Capability capability)

Used to determine if a given Capability is a supported capability (i.e. one of the static members of this class: `Edit`, `Delete`, etc.

#### Returns

null - if not a predefined capability. Otherwise it will be the static representation of the capability. Can be used to see if a capability is entitleable.