Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
JavaSE Documentation
ManagerUtility.WindowCapabilityUtility

Class ManagerUtility.WindowCapabilityUtility

Hierarchy

java.lang.Object

Package
com.smartdevicelink.managers

Constructors

WindowCapabilityUtility()

public WindowCapabilityUtility()

Methods

hasImageFieldOfName( WindowCapability windowCapability, ImageFieldName name )

Check to see if WindowCapability has an ImageFieldName of a given name.

public static boolean hasImageFieldOfName(WindowCapability windowCapability,ImageFieldName name)

Method Parameters

windowCapability
WindowCapability representing the capabilities of the desired window
name
ImageFieldName representing a name of a given Image field that would be stored in WindowCapability

hasTextFieldOfName( WindowCapability windowCapability, TextFieldName name )

Check to see if WindowCapability has a textField of a given name.

public static boolean hasTextFieldOfName(WindowCapability windowCapability,TextFieldName name)

Method Parameters

windowCapability
WindowCapability representing the capabilities of the desired window
name
TextFieldName representing a name of a given text field that would be stored in WindowCapability

getMaxNumberOfMainFieldLines( WindowCapability windowCapability )

Method to get number of textFields allowed to be set according to WindowCapability

public static int getMaxNumberOfMainFieldLines(WindowCapability windowCapability)

Method Parameters

windowCapability
WindowCapability representing the capabilities of the desired window

getMaxNumberOfAlertFieldLines( WindowCapability windowCapability )

Method to get number of alert textFields allowed to be set according to WindowCapability

public static int getMaxNumberOfAlertFieldLines(WindowCapability windowCapability)

Method Parameters

windowCapability
WindowCapability representing the capabilities of the desired window

getAllTextFields()

Method to get a list of all available text fields

public static java.util.List getAllTextFields()

getAllImageFields()

Method to get a list of all available Image fields

public static java.util.List getAllImageFields()

Inherited Methods

From Class Methods
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section