Class RMCrossTabAutoFormatPanel


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

    • RMCrossTabAutoFormatPanel

      public RMCrossTabAutoFormatPanel()
  • Method Details

    • showPanel

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

      public Map<String,WebFile> getTemplates()
    • retrievePanel

      public SpringsPane retrievePanel(RMCrossTab crosstab)
    • initUI

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

      public void respondUI(SwingEvent anEvent)
      Respond to UI controls.
      Overrides:
      respondUI in class UIOwner<SwingEvent,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.