com.vaadin.ui.


Class Table.HeaderClickEvent

java.lang.Object
  java.util.EventObject
      com.vaadin.ui.Component.Event
          com.vaadin.event.MouseEvents.ClickEvent
              com.vaadin.ui.Table.HeaderClickEvent

All Implemented Interfaces:

Serializable

Enclosing class:

Table

public static class Table.HeaderClickEvent
extends MouseEvents.ClickEvent

Click event fired when clicking on the Table headers. The event includes a reference the the Table the event originated from, the property id of the column which header was pressed and details about the mouse event itself.

See Also:

Serialized Form

Field Summary
static Method HEADER_CLICK_METHOD
           
 
Fields inherited from class com.vaadin.event.MouseEvents.ClickEvent
BUTTON_LEFT, BUTTON_MIDDLE, BUTTON_RIGHT
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
Table.HeaderClickEvent(Component source, Object propertyId, MouseEventDetails details)
           
 
Method Summary
 Object getPropertyId()
          Gets the property id of the column which header was pressed
 
Methods inherited from class com.vaadin.event.MouseEvents.ClickEvent
getButton, getButtonName, getClientX, getClientY, getRelativeX, getRelativeY, isAltKey, isCtrlKey, isDoubleClick, isMetaKey, isShiftKey
 
Methods inherited from class com.vaadin.ui.Component.Event
getComponent
 
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

HEADER_CLICK_METHOD

public static final Method HEADER_CLICK_METHOD
Constructor Detail

Table.HeaderClickEvent

public Table.HeaderClickEvent(Component source,
                              Object propertyId,
                              MouseEventDetails details)
Method Detail

getPropertyId

public Object getPropertyId()

Gets the property id of the column which header was pressed

Returns:
The column propety id