Package se.datadosen.jalbum
Class JAlbumContext
java.lang.Object
se.datadosen.jalbum.JAlbumContext
Central repository for commonly used jAlbum classes
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addPropertyChangeListener
(String propertyName, PropertyChangeListener listener) protected void
firePropertyChange
(String propertyName, Object oldValue, Object newValue) Support for reporting bound property changes for Object properties.static JAlbumContext
Return a context that isn't bound to any user interfacegetFrame()
static JAlbumContext
void
Removes a PropertyChangeListener from the listener list.void
setAlbumObjectfactory
(AlbumObjectFactory aoFactory) void
void
setExplorer
(JAlbumExplorer aExplorer) void
setFrame
(JAlbumFrame aFrame)
-
Method Details
-
getInstance
-
getConsoleInstance
Return a context that isn't bound to any user interface- Returns:
-
getEngine
-
setEngine
-
getFrame
-
setFrame
-
getExplorer
-
getActions
-
getPluginContext
-
getSkinDir
-
setExplorer
-
getAlbumObjectfactory
-
setAlbumObjectfactory
-
getLicenseManager
-
addPropertyChangeListener
-
removePropertyChangeListener
Removes a PropertyChangeListener from the listener list. This method should be used to remove PropertyChangeListeners that were registered for all bound properties of this class.If listener is null, no exception is thrown and no action is performed.
- Parameters:
listener
- the PropertyChangeListener to be removed- See Also:
-
addPropertyChangeListener
-
firePropertyChange
Support for reporting bound property changes for Object properties. This method can be called when a bound property has changed and it will send the appropriate PropertyChangeEvent to any registered PropertyChangeListeners.- Parameters:
propertyName
- the property whose value has changedoldValue
- the property's previous valuenewValue
- the property's new value
-