Package com.hp.lft.sdk.java
Class MenuDescription.Init<T extends MenuDescription.Init<T>>
java.lang.Object
com.hp.lft.sdk.DescriptionBase.Init<T>
com.hp.lft.sdk.java.UiObjectBaseDescription.Init<T>
com.hp.lft.sdk.java.MenuDescription.Init<T>
- Direct Known Subclasses:
MenuDescription.Builder
- Enclosing class:
- MenuDescription
protected abstract static class MenuDescription.Init<T extends MenuDescription.Init<T>>
extends UiObjectBaseDescription.Init<T>
Helper class for MenuDescription.Builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns the built description instance (builder pattern).subMenusCount
(Integer count) Initializes the number of menu items that are direct children of this menu.text
(StringProperty text) Initializes the menu's text.Initializes the menu's textMethods inherited from class com.hp.lft.sdk.java.UiObjectBaseDescription.Init
absoluteLocation, absoluteLocation, absoluteLocation, attachedText, attachedText, backgroundColor, backgroundColor, enabled, focused, foregroundColor, foregroundColor, label, label, location, location, location, nativeClass, nativeClass, objectName, objectName, path, path, size, size, size, tagName, tagName, visible, wrapped
Methods inherited from class com.hp.lft.sdk.DescriptionBase.Init
index, objectProperties, self, vri, vri
-
Constructor Details
-
Init
protected Init()
-
-
Method Details
-
build
Description copied from class:DescriptionBase.Init
Returns the built description instance (builder pattern).- Overrides:
build
in classDescriptionBase.Init<T extends MenuDescription.Init<T>>
- Returns:
- The built description instance (builder pattern).
-
subMenusCount
Initializes the number of menu items that are direct children of this menu.- Parameters:
count
- the number of direct child menu items.- Returns:
- the description instance with the update state (builder pattern).
-
text
Initializes the menu's text.- Parameters:
text
- aStringProperty
orRegExpProperty
.- Returns:
- the description instance with the update state (builder pattern).
-
text
Initializes the menu's text- Parameters:
text
- the text.- Returns:
- the description instance with the update state (builder pattern).
-