Class X_AD_ToolBarButton

    • Constructor Detail

      • X_AD_ToolBarButton

        public X_AD_ToolBarButton​(Properties ctx,
                                  int AD_ToolBarButton_ID,
                                  String trxName)
        Standard Constructor
    • Method Detail

      • get_AccessLevel

        protected int get_AccessLevel()
        AccessLevel
        Specified by:
        get_AccessLevel in class PO
        Returns:
        4 - System
      • initPO

        protected POInfo initPO​(Properties ctx)
        Load Meta Data
        Specified by:
        initPO in class PO
        Parameters:
        ctx - context
        Returns:
        POInfo
      • toString

        public String toString()
        Description copied from class: PO
        String representation
        Overrides:
        toString in class PO
        Returns:
        String representation
      • setAction

        public void setAction​(String Action)
        Set Action.
        Specified by:
        setAction in interface I_AD_ToolBarButton
        Parameters:
        Action - Indicates the Action to be performed
      • setActionClassName

        public void setActionClassName​(String ActionClassName)
        Set Service Component Name.
        Specified by:
        setActionClassName in interface I_AD_ToolBarButton
        Parameters:
        ActionClassName - The service component name that implements the interface for toolbar actions
      • getActionClassName

        public String getActionClassName()
        Get Service Component Name.
        Specified by:
        getActionClassName in interface I_AD_ToolBarButton
        Returns:
        The service component name that implements the interface for toolbar actions
      • setActionName

        public void setActionName​(String ActionName)
        Set Action Name.
        Specified by:
        setActionName in interface I_AD_ToolBarButton
        Parameters:
        ActionName - Action name on the toolbar
      • setAD_Process_ID

        public void setAD_Process_ID​(int AD_Process_ID)
        Set Process.
        Specified by:
        setAD_Process_ID in interface I_AD_ToolBarButton
        Parameters:
        AD_Process_ID - Process or Report
      • setAD_Tab_ID

        public void setAD_Tab_ID​(int AD_Tab_ID)
        Set Tab.
        Specified by:
        setAD_Tab_ID in interface I_AD_ToolBarButton
        Parameters:
        AD_Tab_ID - Tab within a Window
      • setAD_ToolBarButton_ID

        public void setAD_ToolBarButton_ID​(int AD_ToolBarButton_ID)
        Set ToolBar Button.
        Specified by:
        setAD_ToolBarButton_ID in interface I_AD_ToolBarButton
        Parameters:
        AD_ToolBarButton_ID - ToolBar Button
      • setAD_ToolBarButton_UU

        public void setAD_ToolBarButton_UU​(String AD_ToolBarButton_UU)
        Set AD_ToolBarButton_UU.
        Specified by:
        setAD_ToolBarButton_UU in interface I_AD_ToolBarButton
        Parameters:
        AD_ToolBarButton_UU - AD_ToolBarButton_UU
      • setComponentName

        public void setComponentName​(String ComponentName)
        Set Component Name.
        Specified by:
        setComponentName in interface I_AD_ToolBarButton
        Parameters:
        ComponentName - Component Name
      • setDisplayLogic

        public void setDisplayLogic​(String DisplayLogic)
        Set Display Logic.
        Specified by:
        setDisplayLogic in interface I_AD_ToolBarButton
        Parameters:
        DisplayLogic - If the Field is displayed, the result determines if the field is actually displayed
      • getDisplayLogic

        public String getDisplayLogic()
        Get Display Logic.
        Specified by:
        getDisplayLogic in interface I_AD_ToolBarButton
        Returns:
        If the Field is displayed, the result determines if the field is actually displayed
      • setEntityType

        public void setEntityType​(String EntityType)
        Set Entity Type.
        Specified by:
        setEntityType in interface I_AD_ToolBarButton
        Parameters:
        EntityType - Dictionary Entity Type; Determines ownership and synchronization
      • getEntityType

        public String getEntityType()
        Get Entity Type.
        Specified by:
        getEntityType in interface I_AD_ToolBarButton
        Returns:
        Dictionary Entity Type; Determines ownership and synchronization
      • setIsAddSeparator

        public void setIsAddSeparator​(boolean IsAddSeparator)
        Set Add Separator.
        Specified by:
        setIsAddSeparator in interface I_AD_ToolBarButton
        Parameters:
        IsAddSeparator - Add Separator
      • setIsAdvancedButton

        public void setIsAdvancedButton​(boolean IsAdvancedButton)
        Set Advanced Button.
        Specified by:
        setIsAdvancedButton in interface I_AD_ToolBarButton
        Parameters:
        IsAdvancedButton - This Button contains advanced Functionality
      • isAdvancedButton

        public boolean isAdvancedButton()
        Get Advanced Button.
        Specified by:
        isAdvancedButton in interface I_AD_ToolBarButton
        Returns:
        This Button contains advanced Functionality
      • setIsCustomization

        public void setIsCustomization​(boolean IsCustomization)
        Set Customization.
        Specified by:
        setIsCustomization in interface I_AD_ToolBarButton
        Parameters:
        IsCustomization - The change is a customization of the data dictionary and can be applied after Migration
      • isCustomization

        public boolean isCustomization()
        Get Customization.
        Specified by:
        isCustomization in interface I_AD_ToolBarButton
        Returns:
        The change is a customization of the data dictionary and can be applied after Migration
      • setIsShowMore

        public void setIsShowMore​(boolean IsShowMore)
        Set Group in show more.
        Specified by:
        setIsShowMore in interface I_AD_ToolBarButton
        Parameters:
        IsShowMore - Group in show more
      • isShowMore

        public boolean isShowMore()
        Get Group in show more.
        Specified by:
        isShowMore in interface I_AD_ToolBarButton
        Returns:
        Group in show more
      • setKeyStroke_KeyCode

        public void setKeyStroke_KeyCode​(int KeyStroke_KeyCode)
        Set KeyCode.
        Specified by:
        setKeyStroke_KeyCode in interface I_AD_ToolBarButton
        Parameters:
        KeyStroke_KeyCode - KeyCode for shortcuts
      • setKeyStroke_Modifiers

        public void setKeyStroke_Modifiers​(int KeyStroke_Modifiers)
        Set Keystroke Modifiers.
        Specified by:
        setKeyStroke_Modifiers in interface I_AD_ToolBarButton
        Parameters:
        KeyStroke_Modifiers - Keystroke Modifiers for shortcuts
      • getKeyStroke_Modifiers

        public int getKeyStroke_Modifiers()
        Get Keystroke Modifiers.
        Specified by:
        getKeyStroke_Modifiers in interface I_AD_ToolBarButton
        Returns:
        Keystroke Modifiers for shortcuts
      • setName

        public void setName​(String Name)
        Set Name.
        Specified by:
        setName in interface I_AD_ToolBarButton
        Parameters:
        Name - Alphanumeric identifier of the entity
      • getKeyNamePair

        public KeyNamePair getKeyNamePair()
        Get Record ID/ColumnName
        Returns:
        ID/ColumnName pair
      • setSeqNo

        public void setSeqNo​(int SeqNo)
        Set Sequence.
        Specified by:
        setSeqNo in interface I_AD_ToolBarButton
        Parameters:
        SeqNo - Method of ordering records; lowest number comes first
      • getSeqNo

        public int getSeqNo()
        Get Sequence.
        Specified by:
        getSeqNo in interface I_AD_ToolBarButton
        Returns:
        Method of ordering records; lowest number comes first