com.hp.lft.sdk.stdwin

Class MenuDescription.Init<T extends 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

      Modifier Constructor and Description
      protected Init() 
    • Method Summary

      Modifier and Type Method and Description
      MenuDescription build()
      Returns the built description instance (builder pattern).
      protected abstract T self() 
      T type(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).