borland Packages Class Hierarchy jbcl.dataset Package Index
java.lang.Object +----java.util.EventObject +----borland.jbcl.util.DispatchableEvent +----borland.jbcl.dataset.StatusEvent
Variables Constructors Properties Methods
Implements Serializable
This class is used to inform listeners of specified types of status messages. If the listener wants to take action for a particular status message, the getCode() method can be used to determine the type of message being sent.
public static final int CLEAR = 10
public static final int DATA_CHANGE = 8
public static final int EDIT_CANCELED = 12Cancelled edit for new or existing row.
public static final int EDIT_STARTED = 11Entered edit state for new or existing row.
public static final int EXCEPTION = 9
public static final int LOADING_DATA = 1Status notification about loading rows in a DataSet.
public static final int LOCATE_MATCH_FOUND = 3Status notification that a match was found during a locate operation.
public static final int LOCATE_MATCH_NOT_FOUND = 4Status notification that a match could not be found for a location operation.
public static final int LOCATE_NON_STRING = 7Status notification that a locate operation on a String column expects a String value of length greater than zero.
public static final int LOCATE_STRING = 6Status notification that a locate operation of Locate.NEXT or Locate.PRIOR on a String column expects a String value of length greater than zero.
public static final int LOCATE_USE_ENTER = 2
Status notification that the user should press the Enter to perform the locate. This notification applies to all locates on non-String columns.
public static final int LOCATE_USE_MIXED_CASE = 5
public static final int RESTRUCTURING = 12Status notification sent by long-running restructure operations.
This variable was added in JBuilder 2.0.
public static final int SORTING = 11Status notification sent by long-running sort operations.
This variable was added in JBuilder 2.0.
public StatusEvent(java.lang.Object source, int code, java.lang.String message)A constructor for a StatusEvent object with the following properties:
Parameters:
public StatusEvent(java.lang.Object source, java.lang.Exception ex)A constructor for a StatusEvent with the following properties:
Parameters:
public final int getCode()Gets the code that indicates the type of message. The int value returned represents one of the StatusEvent variables.
public final String getMessage() public final void setMessage(java.lang.String message)Determines the String text associated with the status notification.
public void dispatch(java.util.EventListener listener)Sends the StatusEvent notification to all registered StatusListeners.
Overrides: borland.jbcl.util.DispatchableEvent.dispatch(EventListener)