Class AbstractEditorFrame

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants
Direct Known Subclasses:
AbstractComponentEditorFrame, NamedStyleEditorFrame, ViewPermissionsEditorFrame, WebDebugFrame

public abstract class AbstractEditorFrame extends BrandedFrame
Superclass of any perspective popup editor frame. Handles some UI consistency and implements position saving. Note that simply instantiating one of these will make it become visible, so no need to call setVisible(true)

Don't forget to use the results of createBottomButtonPanel() in your content pane.

See Also:
  • Field Details

    • GRAY1

      public static final Color GRAY1
    • GRAY2

      public static final Color GRAY2
    • GRAY3

      public static final Color GRAY3
    • GRAY4

      public static final Color GRAY4
    • BLUE

      public static final Color BLUE
    • TITLE

      public static final Font TITLE
    • HEADING

      public static final Font HEADING
    • SUBHEAD

      public static final Font SUBHEAD
    • H1

      public static final Font H1
    • H2

      public static final Font H2
    • H3

      public static final Font H3
  • Constructor Details

    • AbstractEditorFrame

      protected AbstractEditorFrame(Frame parentFrame, Dimension prefSize)
  • Method Details

    • createBottomButtonPanel

      protected JPanel createBottomButtonPanel()
    • doApply

      protected abstract void doApply()
      Implement this to actually apply the current set of settings
    • onWindowClosed

      protected abstract void onWindowClosed()
      Called when the window is closed either by cancel or apply. Use for cleaning up
    • onWindowReopened

      public void onWindowReopened()
      Called when the FrameManager recycles a frame to reopen this window, rather than creating a new one.
    • doCancel

      protected void doCancel()
    • setContentSections

      protected void setContentSections(JComponent leftPanel, JComponent mainComponent)
    • createLeftPanel

      public static JPanel createLeftPanel(String titleString)