Class FlatThemeFileEditor

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

class FlatThemeFileEditor extends JFrame
TODO
  • Field Details

  • Constructor Details

    • FlatThemeFileEditor

      private FlatThemeFileEditor(File dir)
  • Method Details

    • launch

      static void launch(String[] args)
    • openDirectory

      private void openDirectory()
    • checkDirectory

      private boolean checkDirectory(Component parentComponent, File dir)
    • directoryChanged

      private void directoryChanged()
    • loadDirectory

      private void loadDirectory(File dir)
    • updateDirectory

      private void updateDirectory()
    • getCanonicalFile

      private File getCanonicalFile(File dir)
    • getPropertiesFiles

      private File[] getPropertiesFiles(File dir)
    • toSortName

      private String toSortName(String name)
    • openFile

      private void openFile(File file, boolean select)
    • selectedTabChanged

      private void selectedTabChanged()
    • enableDisableActions

      private void enableDisableActions()
    • newPropertiesFile

      private boolean newPropertiesFile()
    • newPropertiesFile

      private boolean newPropertiesFile(File dir)
    • createTheme

      private void createTheme(File file, String baseTheme) throws IOException
      Throws:
      IOException
    • createThemeClass

      private void createThemeClass(File dir, String themeName, String baseTheme) throws IOException
      Throws:
      IOException
    • writeFile

      private static void writeFile(File file, String content) throws IOException
      Throws:
      IOException
    • saveAll

      private boolean saveAll()
    • exit

      private void exit()
    • windowClosing

      private void windowClosing()
    • windowActivated

      private void windowActivated()
    • windowDeactivated

      private void windowDeactivated()
    • getThemeEditorPanes

      private FlatThemeEditorPane[] getThemeEditorPanes()
    • notifyEditorSelected

      private void notifyEditorSelected()
    • activateEditor

      private void activateEditor()
    • nextEditor

      private void nextEditor()
    • previousEditor

      private void previousEditor()
    • notifyTabbedPaneAction

      private void notifyTabbedPaneAction(Action action)
    • find

      private void find()
    • insertColor

      private void insertColor()
    • pickColor

      private void pickColor()
    • showHidePreview

      private void showHidePreview()
    • lightLaf

      private void lightLaf()
    • darkLaf

      private void darkLaf()
    • applyLookAndFeel

      private void applyLookAndFeel(String lafClassName)
    • incrFontSize

      private void incrFontSize()
    • decrFontSize

      private void decrFontSize()
    • resetFontSize

      private void resetFontSize()
    • applyFontSizeIncr

      private void applyFontSizeIncr(int sizeIncr)
    • getFontSizeIncr

      private int getFontSizeIncr()
    • colorModelChanged

      private void colorModelChanged()
    • about

      private void about()
    • restoreState

      private void restoreState()
    • saveState

      private void saveState()
    • restoreWindowBounds

      private void restoreWindowBounds()
    • saveWindowBounds

      private void saveWindowBounds()
    • putPrefsBoolean

      static void putPrefsBoolean(Preferences prefs, String key, boolean value, boolean defaultValue)
    • putPrefsString

      static void putPrefsString(Preferences prefs, String key, String value)
    • getPrefsStrings

      private static String[] getPrefsStrings(Preferences prefs, String key)
    • putPrefsStrings

      private static void putPrefsStrings(Preferences prefs, String key, String[] strings)
    • initComponents

      private void initComponents()