Class X_AD_PrintLabel

    • Constructor Detail

      • X_AD_PrintLabel

        public X_AD_PrintLabel​(Properties ctx,
                               int AD_PrintLabel_ID,
                               String trxName)
        Standard Constructor
    • Method Detail

      • get_AccessLevel

        protected int get_AccessLevel()
        AccessLevel
        Specified by:
        get_AccessLevel in class PO
        Returns:
        6 - System - Client
      • 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
      • setAD_LabelPrinter_ID

        public void setAD_LabelPrinter_ID​(int AD_LabelPrinter_ID)
        Set Label printer.
        Specified by:
        setAD_LabelPrinter_ID in interface I_AD_PrintLabel
        Parameters:
        AD_LabelPrinter_ID - Label Printer Definition
      • getAD_LabelPrinter_ID

        public int getAD_LabelPrinter_ID()
        Get Label printer.
        Specified by:
        getAD_LabelPrinter_ID in interface I_AD_PrintLabel
        Returns:
        Label Printer Definition
      • setAD_PrintLabel_ID

        public void setAD_PrintLabel_ID​(int AD_PrintLabel_ID)
        Set Print Label.
        Specified by:
        setAD_PrintLabel_ID in interface I_AD_PrintLabel
        Parameters:
        AD_PrintLabel_ID - Label Format to print
      • setAD_PrintLabel_UU

        public void setAD_PrintLabel_UU​(String AD_PrintLabel_UU)
        Set AD_PrintLabel_UU.
        Specified by:
        setAD_PrintLabel_UU in interface I_AD_PrintLabel
        Parameters:
        AD_PrintLabel_UU - AD_PrintLabel_UU
      • setAD_Table_ID

        public void setAD_Table_ID​(int AD_Table_ID)
        Set Table.
        Specified by:
        setAD_Table_ID in interface I_AD_PrintLabel
        Parameters:
        AD_Table_ID - Database Table information
      • getAD_Table_ID

        public int getAD_Table_ID()
        Get Table.
        Specified by:
        getAD_Table_ID in interface I_AD_PrintLabel
        Returns:
        Database Table information
      • setDescription

        public void setDescription​(String Description)
        Set Description.
        Specified by:
        setDescription in interface I_AD_PrintLabel
        Parameters:
        Description - Optional short description of the record
      • getDescription

        public String getDescription()
        Get Description.
        Specified by:
        getDescription in interface I_AD_PrintLabel
        Returns:
        Optional short description of the record
      • setIsLandscape

        public void setIsLandscape​(boolean IsLandscape)
        Set Landscape.
        Specified by:
        setIsLandscape in interface I_AD_PrintLabel
        Parameters:
        IsLandscape - Landscape orientation
      • isLandscape

        public boolean isLandscape()
        Get Landscape.
        Specified by:
        isLandscape in interface I_AD_PrintLabel
        Returns:
        Landscape orientation
      • setLabelHeight

        public void setLabelHeight​(int LabelHeight)
        Set Label Height.
        Specified by:
        setLabelHeight in interface I_AD_PrintLabel
        Parameters:
        LabelHeight - Height of the label
      • getLabelHeight

        public int getLabelHeight()
        Get Label Height.
        Specified by:
        getLabelHeight in interface I_AD_PrintLabel
        Returns:
        Height of the label
      • setLabelWidth

        public void setLabelWidth​(int LabelWidth)
        Set Label Width.
        Specified by:
        setLabelWidth in interface I_AD_PrintLabel
        Parameters:
        LabelWidth - Width of the Label
      • getLabelWidth

        public int getLabelWidth()
        Get Label Width.
        Specified by:
        getLabelWidth in interface I_AD_PrintLabel
        Returns:
        Width of the Label
      • setName

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

        public String getName()
        Get Name.
        Specified by:
        getName in interface I_AD_PrintLabel
        Returns:
        Alphanumeric identifier of the entity
      • getKeyNamePair

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

        public void setPrinterName​(String PrinterName)
        Set Printer Name.
        Specified by:
        setPrinterName in interface I_AD_PrintLabel
        Parameters:
        PrinterName - Name of the Printer