java.lang.Object
javafx.application.Application
org.jhotdraw8.application.AbstractApplication
- All Implemented Interfaces:
Application,PropertyBean,Disableable
- Direct Known Subclasses:
AbstractFileBasedApplication
public abstract class AbstractApplication
extends javafx.application.Application
implements Application
AbstractApplication.
- Author:
- Werner Randelshofer
-
Property Summary
PropertiesTypePropertyDescriptionContains allActionobjects that are managed by thisApplication.Contains allActivityobjects that are managed by thisApplication.javafx.beans.property.ReadOnlyBooleanPropertyHolds the disabled state.@NonNull javafx.beans.property.IntegerPropertyHolds the max number of recent URIs.javafx.beans.property.ReadOnlyMapProperty<URI, javafx.scene.input.DataFormat> Holds the recent URIs.Properties inherited from interface org.jhotdraw8.application.Application
activeActivity -
Nested Class Summary
Nested classes/interfaces inherited from class javafx.application.Application
javafx.application.Application.Parameters -
Field Summary
Fields inherited from class javafx.application.Application
STYLESHEET_CASPIAN, STYLESHEET_MODENAFields inherited from interface org.jhotdraw8.application.Application
ACTIONS_PROPERTY, ACTIVITIES_PROPERTY, ACTIVITY_FACTORY_PROPERTY, COPYRIGHT_KEY, LICENSE_KEY, MAX_NUMBER_OF_RECENT_URIS_PROPERTY, MENU_BAR_FACTORY_PROPERTY, NAME_KEY, PREFERENCES_PROPERTY, RECENT_URIS_PROPERTY, RESOURCE_BUNDLE_PROPERTY, STYLESHEETS_PROPERTY, VERSION_KEYFields inherited from interface org.jhotdraw8.fxbase.control.Disableable
DISABLED_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionContains allActionobjects that are managed by thisApplication.Contains allActivityobjects that are managed by thisApplication.javafx.beans.property.ReadOnlyBooleanPropertyHolds the disabled state.final @NonNull javafx.collections.ObservableMap<org.jhotdraw8.fxcollection.typesafekey.Key<?>, Object> protected voidloadRecentUris(String applicationId) @NonNull javafx.beans.property.IntegerPropertyHolds the max number of recent URIs.javafx.beans.property.ReadOnlyMapProperty<URI, javafx.scene.input.DataFormat> Holds the recent URIs.Methods inherited from class javafx.application.Application
getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, start, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jhotdraw8.application.Application
activeActivityProperty, createActivity, exit, getActions, getActiveActivity, getActivities, getActivityFactory, getMaxNumberOfRecentUris, getMenuBarFactory, getNode, getPreferences, getRecentUris, getResources, getStylesheets, setActivityFactory, setMaxNumberOfRecentUris, setMenuBarFactory, setPreferences, setResourcesMethods inherited from interface org.jhotdraw8.fxbase.control.Disableable
addDisabler, isDisabled, removeDisablerMethods inherited from interface org.jhotdraw8.fxbase.beans.PropertyBean
get, getNonNull, getProperty, put, remove, set, setNonNull, valueAt
-
Property Details
-
disabled
public javafx.beans.property.ReadOnlyBooleanProperty disabledPropertyHolds the disabled state.- Specified by:
disabledPropertyin interfaceDisableable- See Also:
-
maxNumberOfRecentUris
Holds the max number of recent URIs.- Specified by:
maxNumberOfRecentUrisPropertyin interfaceApplication- Returns:
- the number of recent Uris
- See Also:
-
recentUris
public javafx.beans.property.ReadOnlyMapProperty<URI,javafx.scene.input.DataFormat> recentUrisPropertyHolds the recent URIs.- Specified by:
recentUrisPropertyin interfaceApplication- Returns:
- the recent Uris
- See Also:
-
actions
- Specified by:
actionsPropertyin interfaceApplication- Returns:
- the activities
- See Also:
-
activities
- Specified by:
activitiesPropertyin interfaceApplication- Returns:
- the activities
- See Also:
-
stylesheets
- Specified by:
stylesheetsPropertyin interfaceApplication- See Also:
-
activityFactory
- Specified by:
activityFactoryPropertyin interfaceApplication- See Also:
-
resources
- Specified by:
resourcesPropertyin interfaceApplication- See Also:
-
preferences
- Specified by:
preferencesPropertyin interfaceApplication- See Also:
-
-
Constructor Details
-
AbstractApplication
public AbstractApplication()
-
-
Method Details
-
disabledProperty
public javafx.beans.property.ReadOnlyBooleanProperty disabledProperty()Holds the disabled state.- Specified by:
disabledPropertyin interfaceDisableable- Returns:
- the
disabledproperty
-
disablers
- Specified by:
disablersin interfaceDisableable
-
getProperties
public final @NonNull javafx.collections.ObservableMap<org.jhotdraw8.fxcollection.typesafekey.Key<?>,Object> getProperties()- Specified by:
getPropertiesin interfacePropertyBean
-
loadRecentUris
-
maxNumberOfRecentUrisProperty
Holds the max number of recent URIs.- Specified by:
maxNumberOfRecentUrisPropertyin interfaceApplication- Returns:
- the
maxNumberOfRecentUrisproperty
-
recentUrisProperty
public javafx.beans.property.ReadOnlyMapProperty<URI,javafx.scene.input.DataFormat> recentUrisProperty()Holds the recent URIs.- Specified by:
recentUrisPropertyin interfaceApplication- Returns:
- the
recentUrisproperty
-
actionsProperty
Description copied from interface:ApplicationContains allActionobjects that are managed by thisApplication.- Specified by:
actionsPropertyin interfaceApplication- Returns:
- the
actionsproperty
-
activitiesProperty
Description copied from interface:ApplicationContains allActivityobjects that are managed by thisApplication.- Specified by:
activitiesPropertyin interfaceApplication- Returns:
- the
activitiesproperty
-
stylesheetsProperty
- Specified by:
stylesheetsPropertyin interfaceApplication- Returns:
- the
stylesheetsproperty
-
activityFactoryProperty
- Specified by:
activityFactoryPropertyin interfaceApplication- Returns:
- the
activityFactoryproperty
-
resourcesProperty
- Specified by:
resourcesPropertyin interfaceApplication- Returns:
- the
resourcesproperty
-
preferencesProperty
- Specified by:
preferencesPropertyin interfaceApplication- Returns:
- the
preferencesproperty
-
getExecutor
- Specified by:
getExecutorin interfaceApplication
-