com.atlassian.confluence.themes.events
Class ThemeChangedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.atlassian.event.Event
com.atlassian.confluence.event.events.ConfluenceEvent
com.atlassian.confluence.themes.events.LookAndFeelEvent
com.atlassian.confluence.themes.events.ThemeChangedEvent
- All Implemented Interfaces:
- Updated, java.io.Serializable
public class ThemeChangedEvent
- extends LookAndFeelEvent
- implements Updated
Fired when a new theme is selected, either globally or for an individual space.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
ThemeChangedEvent(java.lang.Object src,
java.lang.String spaceKey,
java.lang.String oldThemeKey,
java.lang.String newThemeKey)
|
Method Summary |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getNewThemeKey()
Get the theme that is being changed to. |
java.lang.String |
getOldThemeKey()
Get the theme that is being changed from. |
int |
hashCode()
|
Methods inherited from class org.springframework.context.ApplicationEvent |
getTimestamp |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ThemeChangedEvent
public ThemeChangedEvent(java.lang.Object src,
java.lang.String spaceKey,
java.lang.String oldThemeKey,
java.lang.String newThemeKey)
getOldThemeKey
public java.lang.String getOldThemeKey()
- Get the theme that is being changed from.
- Returns:
- the plugin module key of the theme that is being changed from, or null if the previous
theme was the default
getNewThemeKey
public java.lang.String getNewThemeKey()
- Get the theme that is being changed to.
- Returns:
- the plugin module key of the theme that is being changed to, or null if the new
theme is the default
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class LookAndFeelEvent
hashCode
public int hashCode()
- Overrides:
hashCode
in class LookAndFeelEvent
Copyright © 2003-2009 Atlassian Pty Ltd. All Rights Reserved.