Class JAlbumContext

java.lang.Object
se.datadosen.jalbum.JAlbumContext

public class JAlbumContext extends Object
Central repository for commonly used jAlbum classes
  • Method Details

    • getInstance

      public static JAlbumContext getInstance()
    • getConsoleInstance

      public static JAlbumContext getConsoleInstance()
      Return a context that isn't bound to any user interface
      Returns:
    • getEngine

      public AlbumBean getEngine()
    • setEngine

      public void setEngine(AlbumBean aEngine)
    • getFrame

      public JAlbumFrame getFrame()
    • setFrame

      public void setFrame(JAlbumFrame aFrame)
    • getExplorer

      public JAlbumExplorer getExplorer()
    • getActions

      public Actions getActions()
    • getPluginContext

      public PluginContext getPluginContext()
    • getSkinDir

      public File getSkinDir()
    • setExplorer

      public void setExplorer(JAlbumExplorer aExplorer)
    • getAlbumObjectfactory

      public AlbumObjectFactory getAlbumObjectfactory()
    • setAlbumObjectfactory

      public void setAlbumObjectfactory(AlbumObjectFactory aoFactory)
    • getLicenseManager

      public LicenseManager getLicenseManager()
    • addPropertyChangeListener

      public void addPropertyChangeListener(PropertyChangeListener listener)
    • removePropertyChangeListener

      public void removePropertyChangeListener(PropertyChangeListener listener)
      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

      public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
    • firePropertyChange

      protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)
      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 changed
      oldValue - the property's previous value
      newValue - the property's new value