com.hp.lft.sdk.stdwin

Class MenuDescription.Init<T extends MenuDescription.Init<T>>

  • java.lang.Object
    • com.hp.lft.sdk.stdwin.MenuDescription.Init<T>
  • Direct Known Subclasses:
    MenuDescription.Builder
    Enclosing class:
    MenuDescription


    protected abstract static class MenuDescription.Init<T extends MenuDescription.Init<T>>
    extends java.lang.Object
    Helper class for MenuDescription.Builder.
    • Constructor Summary

      ModifierConstructor and Description
      protected Init() 
    • Method Summary

      Modifier and TypeMethod and Description
      MenuDescriptionbuild()
      Returns the built description instance (builder pattern).
      protected abstract Tself() 
      Ttype(MenuType type)
      Initializes the Menu type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Init

        protected Init()
    • Method Detail

      • self

        protected abstract T self()
      • build

        public MenuDescription build()
        Returns the built description instance (builder pattern).
        Returns:
        The built description instance (builder pattern).
      • type

        public T type(MenuType type)
        Initializes the Menu type.
        Parameters:
        type - the Menu type.
        Returns:
        the description instance with the update state (builder pattern).