Class FlatThemeEditorPane

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

class FlatThemeEditorPane extends JPanel
A pane that supports editing FlatLaf themes.
  • Field Details

    • DIRTY_PROPERTY

      static final String DIRTY_PROPERTY
      See Also:
    • FLATLAF_STYLE

      private static final String FLATLAF_STYLE
      See Also:
    • findReplaceVisible

      private static boolean findReplaceVisible
    • findReplaceContext

      private static org.fife.ui.rtextarea.SearchContext findReplaceContext
    • editorPanel

      private final JPanel editorPanel
    • scrollPane

      private final org.fife.ui.rtextarea.RTextScrollPane scrollPane
    • textArea

      private final FlatSyntaxTextArea textArea
    • errorStrip

      private final org.fife.ui.rsyntaxtextarea.ErrorStrip errorStrip
    • findReplaceBar

      private FlatFindReplaceBar findReplaceBar
    • preview

      private FlatThemePreview preview
    • file

      private File file
  • Constructor Details

    • FlatThemeEditorPane

      FlatThemeEditorPane()
  • Method Details

    • updateTheme

      void updateTheme()
    • updateFontSize

      void updateFontSize(int sizeIncr)
    • createEditorFont

      private static Font createEditorFont(int sizeIncr)
    • isFallbackFont

      private static boolean isFallbackFont(Font font)
    • selected

      void selected()
    • windowActivated

      void windowActivated()
    • requestFocusInWindow

      public boolean requestFocusInWindow()
      Overrides:
      requestFocusInWindow in class JComponent
    • initBasePropertyProvider

      void initBasePropertyProvider(FlatThemePropertiesBaseManager propertiesBaseManager)
    • getFile

      File getFile()
    • load

      void load(File file) throws IOException
      Throws:
      IOException
    • reloadIfNecessary

      boolean reloadIfNecessary()
    • saveIfDirty

      boolean saveIfDirty()
    • isDirty

      boolean isDirty()
    • getWindowTitle

      private String getWindowTitle()
    • showFindReplaceBar

      void showFindReplaceBar(boolean findEditorSelection)
    • hideFindReplaceBar

      void hideFindReplaceBar()
    • showPreview

      void showPreview(boolean show)
    • notifyTextAreaAction

      void notifyTextAreaAction(String actionKey)