Package adams.flow.core.displaytype
Class Default
-
- All Implemented Interfaces:
Destroyable,GlobalInfoSupporter,LoggingLevelHandler,LoggingSupporter,OptionHandler,SizeOfHandler,Serializable
public class Default extends AbstractDisplayType
Displays the frame on top of all windows.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanm_AutoFocuswhether the window will be automatically focused.-
Fields inherited from class adams.core.option.AbstractOptionHandler
m_OptionManager
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringautoFocusTipText()Returns the tip text for this property.voidcleanUpGUI(AbstractDisplay actor)Cleans up the GUI.voiddefineOptions()Adds options to the internal list of options.booleangetAutoFocus()Returns whether to automatically focus the display.StringglobalInfo()Returns a string describing the object.voidinit(AbstractDisplay actor)Initializes the use of the display.voidsetAutoFocus(boolean value)Sets whether to automatically focus the display.voidshow(AbstractDisplay actor)Shows the display.voidupdateOptions(AbstractDisplay actor)Updates the options of the display actor, if necessary.voidwrapUp(AbstractDisplay actor)Performs wrap up operations.-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, reset, toCommandLine, toString
-
Methods inherited from class adams.core.logging.CustomLoggingLevelObject
setLoggingLevel
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfoin interfaceGlobalInfoSupporter- Specified by:
globalInfoin classAbstractOptionHandler- Returns:
- a description suitable for displaying in the gui
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptionsin interfaceOptionHandler- Overrides:
defineOptionsin classAbstractOptionHandler
-
setAutoFocus
public void setAutoFocus(boolean value)
Sets whether to automatically focus the display.- Parameters:
value- true if focused
-
getAutoFocus
public boolean getAutoFocus()
Returns whether to automatically focus the display.- Returns:
- true if focused
-
autoFocusTipText
public String autoFocusTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
updateOptions
public void updateOptions(AbstractDisplay actor)
Updates the options of the display actor, if necessary.- Specified by:
updateOptionsin classAbstractDisplayType- Parameters:
actor- the actor to update
-
init
public void init(AbstractDisplay actor)
Initializes the use of the display.- Specified by:
initin classAbstractDisplayType- Parameters:
actor- the actor to display
-
show
public void show(AbstractDisplay actor)
Shows the display.- Specified by:
showin classAbstractDisplayType- Parameters:
actor- the actor to display
-
wrapUp
public void wrapUp(AbstractDisplay actor)
Performs wrap up operations.- Specified by:
wrapUpin classAbstractDisplayType- Parameters:
actor- the actor to wrap up
-
cleanUpGUI
public void cleanUpGUI(AbstractDisplay actor)
Cleans up the GUI.- Specified by:
cleanUpGUIin classAbstractDisplayType- Parameters:
actor- the actor to clean up
-
-