| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_DISPLAY_NAME |
static String |
KEY_WINDOW_CAPABILITIES |
static String |
KEY_WINDOW_TYPE_SUPPORTED |
KEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
DisplayCapability() |
DisplayCapability(Hashtable<String,Object> hash) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName()
Get the name of the display
|
List<WindowCapability> |
getWindowCapabilities()
Gets the windowCapabilities portion of the DisplayCapability class
|
List<WindowTypeCapabilities> |
getWindowTypeSupported()
Gets the windowTypeSupported portion of the DisplayCapability class
|
DisplayCapability |
setDisplayName(String displayName)
Set the name of the display
displayName.length() > 1 |
DisplayCapability |
setWindowCapabilities(List<WindowCapability> windowCapabilities)
Sets the windowCapabilities portion of the DisplayCapability class.
|
DisplayCapability |
setWindowTypeSupported(List<WindowTypeCapabilities> windowTypeSupported)
Sets the windowTypeSupported portion of the DisplayCapability class.
|
clone, deserializeJSON, equals, format, formatObject, getBoolean, getBulkData, getDouble, getFloat, getInteger, getLong, getMessageTypeName, getObject, getStore, getStoreValue, getString, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_DISPLAY_NAME
public static final String KEY_WINDOW_TYPE_SUPPORTED
public static final String KEY_WINDOW_CAPABILITIES
public String getDisplayName()
public DisplayCapability setDisplayName(String displayName)
displayName.length() > 1displayName - the name of the displaypublic DisplayCapability setWindowTypeSupported(List<WindowTypeCapabilities> windowTypeSupported)
windowTypeSupported.size()>=1windowTypeSupported - It informs the application how many windows the app is allowed to create per type.public List<WindowTypeCapabilities> getWindowTypeSupported()
public DisplayCapability setWindowCapabilities(List<WindowCapability> windowCapabilities)
windowCapabilities - Contains a list of capabilities of all windows related to the app.
Once the app has registered the capabilities of all windows are provided.
GetSystemCapability still allows requesting window capabilities of all windows.
After registration, only windows with capabilities changed will be included.
Following cases will cause only affected windows to be included:
1. App creates a new window. After the window is created, a system capability notification will be sent related only to the created window.
2. App sets a new template to the window. The new template changes window capabilities. The notification will reflect those changes to the single window.public List<WindowCapability> getWindowCapabilities()