home *** CD-ROM | disk | FTP | other *** search
Java Source | 1998-08-06 | 777 b | 32 lines |
- package com.symantec.itools.vcafe.beans;
-
- import java.util.EventObject;
-
- /**
- * A "CustomOverride" event gets fired when the user customizer implements
- * its own OK button and possibly the cancel button
- *
- * If the customizer does implement the cancel button, it is the customizer's
- * responsiblity to restore the bean to it's original state.
- */
-
- public class CustomOverrideEvent extends EventObject
- {
- public static final int CUSTOMIZER_OK = 0;
- public static final int CUSTOMIZER_CANCEL = 1;
-
- protected int state;
-
- public CustomOverrideEvent(Object customizer, int state)
- {
- super(customizer);
-
- this.state = state;
- }
-
- public int getState()
- {
- return state;
- }
- }
-