Class RMCrossTabAutoFormatPanel


  • public class RMCrossTabAutoFormatPanel
    extends SwingOwner
    A tool to set formatting options on a simple table from a list of templates.
    • Constructor Detail

      • RMCrossTabAutoFormatPanel

        public RMCrossTabAutoFormatPanel()
    • Method Detail

      • showPanel

        public void showPanel​(javax.swing.JComponent aComp,
                              RMCrossTab aTable)
        Run the panel for the given CrossTab.
      • getTemplates

        public java.util.Map<java.lang.String,​WebFile> getTemplates()
      • initUI

        protected void initUI()
        Initialize UI panel.
        Overrides:
        initUI in class UIOwner<SwingEvent,​javax.swing.JComponent>
      • getSelectedTemplate

        public RMDocument getSelectedTemplate()
        Returns the selected template resource.
      • showSelectedTemplate

        public void showSelectedTemplate()
        Resets the RMViewer
      • showSelectedTemplate

        public void showSelectedTemplate​(WebFile template)
        Resets the RMViewer
      • applyFormatting

        public void applyFormatting​(RMCrossTab aTable)
        Fills the destination table with all relevant formatting options from the selected table.
      • applyCellFormatting

        public void applyCellFormatting​(RMCrossTabCell aSourceCell,
                                        RMCrossTabCell aDestCell)
        Copy all relevant cell formatting options from source to destination.