All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class COM.taligent.widget.event.CaptionBarEvent

java.lang.Object
   |
   +----java.util.EventObject
           |
           +----java.awt.AWTEvent
                   |
                   +----COM.taligent.widget.event.CaptionBarEvent

public class CaptionBarEvent
extends AWTEvent
Caption bar events.

Version:
1.1
Author:
Andy Clark, Taligent Inc.
See Also:
CaptionBar, CaptionBarListener

Variable Index

 o RESIZED
Caption resized id.
 o SELECTED
Caption selected id.

Constructor Index

 o CaptionBarEvent(Object, int, int, int)
Constructs a new caption bar event.

Method Index

 o getCaption()
Returns the index of the caption that was acted upon.
 o getClickCount()
Returns the number of clicks for this event.
 o toString()
Returns a string representation of the event.

Variables

 o SELECTED
 public static final int SELECTED
Caption selected id.

 o RESIZED
 public static final int RESIZED
Caption resized id.

Constructors

 o CaptionBarEvent
 public CaptionBarEvent(Object source,
                        int type,
                        int caption,
                        int clicks)
Constructs a new caption bar event.

Parameters:
source - The source of the event.
type - The type of caption bar event to create.
caption - The caption index that was acted upon.
clicks - Number of clicks for this event.

Methods

 o getCaption
 public int getCaption()
Returns the index of the caption that was acted upon.

 o getClickCount
 public int getClickCount()
Returns the number of clicks for this event.

 o toString
 public String toString()
Returns a string representation of the event.

Overrides:
toString in class AWTEvent

All Packages  Class Hierarchy  This Package  Previous  Next  Index