Class MTab

    • Constructor Detail

      • MTab

        public MTab​(Properties ctx,
                    int AD_Tab_ID,
                    String trxName)
        Standard Constructor
        Parameters:
        ctx - context
        AD_Tab_ID - id
        trxName - transaction
      • MTab

        public MTab​(Properties ctx,
                    ResultSet rs,
                    String trxName)
        Load Constructor
        Parameters:
        ctx - context
        rs - result set
        trxName - transaction
      • MTab

        public MTab​(MWindow parent)
        Parent Constructor
        Parameters:
        parent - parent
      • MTab

        public MTab​(MWindow parent,
                    MTab from)
        Parent Constructor
        Parameters:
        parent - parent
        from - copy from
      • MTab

        public MTab​(MTab copy)
        Parameters:
        copy -
      • MTab

        public MTab​(Properties ctx,
                    MTab copy)
        Parameters:
        ctx -
        copy -
      • MTab

        public MTab​(Properties ctx,
                    MTab copy,
                    String trxName)
        Parameters:
        ctx -
        copy -
        trxName -
    • Method Detail

      • get

        public static MTab get​(int AD_Tab_ID)
        Parameters:
        AD_Tab_ID -
        Returns:
        MTab
      • getFields

        public MField[] getFields​(boolean reload,
                                  String trxName)
        Get Fields
        Parameters:
        reload - reload data
        trxName - transaction
        Returns:
        array of lines
      • beforeSave

        protected boolean beforeSave​(boolean newRecord)
        Before Save
        Overrides:
        beforeSave in class PO
        Parameters:
        newRecord - new
        Returns:
        true
      • getTab_ID

        public static int getTab_ID​(int AD_Window_ID,
                                    String TabName)
        get Tab ID
        Parameters:
        AD_Window_ID - String
        TabName - String
        Returns:
        int retValue
      • getParentTabID

        public int getParentTabID()