borland.jbcl Packages borland.jbcl Class Hierarchy borland.jbcl.view
java.lang.Object +----java.util.EventObject +----borland.jbcl.util.DispatchableEvent +----borland.jbcl.view.HeaderEvent
Variables Constructors Properties Methods
Implements Serializable
Indicates that the user performed an action on a header, such as clicking or resizing.
See also: List of Matrix, grid, and header classes in the view package overview.
public static final int ITEM_CLICKED = 0A header item was clicked.
public static final int START_MOVE = 1A header item has started being moved.
public static final int START_RESIZE = 4A header item has started being resized.
public static final int STOP_MOVE = 3A header item has stopped being moved.
public static final int STOP_RESIZE = 6A header item has finished being resized.
public static final int WHILE_MOVE = 2A header item is being moved.
public static final int WHILE_RESIZE = 5A header item is being resized.
public HeaderEvent(java.lang.Object source, int id, int index, int x, int y)Constructs a HeaderEvent by calling jbcl.util.DispatchableEvent.DispatchableEvent(source).
public int getID()Returns an integer that identifies the type of header event. The returned value represents one of the header event variables.
public int getIndex()
public int getX()
public int getY()
public void dispatch(java.util.EventListener listener)If ITEM_CLICKED, calls HeaderListener.headerItemClicked().
Overrides: borland.jbcl.util.DispatchableEvent.dispatch(EventListener)
protected String paramString()Appends the matrix-selection event object's parameter string to the parameter string of the superclass. The string that is appended is:
Overrides: borland.jbcl.util.DispatchableEvent.paramString()
See also: borland.jbcl.model.SelectionEvent.paramString()