|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject core.options.OptionsChangeEvent
public class OptionsChangeEvent
The OptionsChangeEvent class is an EventObject triggered when a change to the Options object has occured.
Field Summary | |
---|---|
static int |
ADD_TRACKS_BACKGROUND_ENABLE_CHANGE
The event type when adding tracks in the background has been dis/enabled. |
static int |
ADD_TRACKS_BACKGROUND_RUNNING_CHANGE
The event type when the background monitoring is either enabled/disabled has been changed. |
static int |
BACKGROUND_DELAY_CHANGE
The event type when the delay for background monitoring has changed. |
static int |
CHECK_FOR_UPDATE_CHANGE
The event type when check for an update on startup has changed. |
static int |
EXTENSIONS_CHANGE
The event type when the extensions to filter has changed. |
static int |
GENERIC_CHANGE
The event type when a generic change has occured to the options object. |
static int |
ITUNES_COPIES_MUSIC_CHANGE
The event type when the user selects the checkbox that says iTunes copies music to the iTunes music directory. |
static int |
ITUNES_DIR_CHANGE
The event type when the iTunes music directory has changed. |
static int |
ITUNES_KEEPS_ORGANIZED_CHANGE
The event type when the user notifies iTunesDSM that iTunes keeps the music folder organized. |
static int |
ITUNES_XML_FILE_CHANGE
The event type when the iTunes XML file has changed. |
static int |
MINIMIZE_TO_TRAY_ON_CLOSE_CHANGE
The event type when the minimize to tray on close has changed. |
static int |
MUSIC_DIRECTORY_CHANGE
The event type when the music directory has changed. |
static int |
NON_PROGRESS_EVENT
An event type that does not involve monitoring a progress. |
static int |
SEARCHING_ITUNES_XML_FILE
The options change event for when the options class is searching for the iTunes XML file. |
static int |
START_ON_BOOT_CHANGE
The event type when the Start on boot option has changed. |
static int |
START_VISIBLE_CHANGE
The event type when the start visible to the user option has changed. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
OptionsChangeEvent(java.lang.Object source,
int eventType,
int progress)
Creates a new OptionsChangeEvent object given the source and the event type. |
Method Summary | |
---|---|
int |
getEventType()
Returns the type of change made to the options object. |
int |
getProgress()
Returns the events notified progress. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int NON_PROGRESS_EVENT
public static final int SEARCHING_ITUNES_XML_FILE
public static final int ITUNES_XML_FILE_CHANGE
public static final int MUSIC_DIRECTORY_CHANGE
public static final int ITUNES_DIR_CHANGE
public static final int BACKGROUND_DELAY_CHANGE
public static final int ADD_TRACKS_BACKGROUND_ENABLE_CHANGE
public static final int ADD_TRACKS_BACKGROUND_RUNNING_CHANGE
public static final int CHECK_FOR_UPDATE_CHANGE
public static final int EXTENSIONS_CHANGE
public static final int MINIMIZE_TO_TRAY_ON_CLOSE_CHANGE
public static final int START_ON_BOOT_CHANGE
public static final int START_VISIBLE_CHANGE
public static final int GENERIC_CHANGE
public static final int ITUNES_COPIES_MUSIC_CHANGE
public static final int ITUNES_KEEPS_ORGANIZED_CHANGE
Constructor Detail |
---|
public OptionsChangeEvent(java.lang.Object source, int eventType, int progress)
source
- The Options object that has changed.eventType
- The change type made.progress
- The progress of the notified event.Method Detail |
---|
public int getEventType()
public int getProgress()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |