Package adams.gui.laf
Class AbstractFlatLaf
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.gui.laf.AbstractLookAndFeel
-
- adams.gui.laf.AbstractFlatLaf
-
- All Implemented Interfaces:
LoggingSupporter
,SizeOfHandler
,Serializable
- Direct Known Subclasses:
FlatLafIntelliJ
,FlatLafLight
public abstract class AbstractFlatLaf extends AbstractLookAndFeel
Ancestor for FlatLaf look and feel plugins.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.gui.laf.AbstractLookAndFeel
FILENAME, KEY_LOOKANDFEEL, m_Current
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description AbstractFlatLaf()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doInstall()
Installs the look and feel.boolean
isAvailable()
Checks whether the look and feel is available.-
Methods inherited from class adams.gui.laf.AbstractLookAndFeel
getCurrent, getLookAndFeels, getName, getPropertiesFilename, install, installLookAndFeel, installLookAndFeel
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Method Detail
-
isAvailable
public boolean isAvailable()
Checks whether the look and feel is available.- Specified by:
isAvailable
in classAbstractLookAndFeel
- Returns:
- true if available
-
doInstall
public void doInstall() throws Exception
Installs the look and feel.- Specified by:
doInstall
in classAbstractLookAndFeel
- Throws:
Exception
- if installation fails
-
-