Package io.jmix.ui.component
Class Table.Column.ClickEvent<E>
java.lang.Object
java.util.EventObject
io.jmix.ui.component.Table.Column.ClickEvent<E>
- Type Parameters:
E
- an entity class
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- Table.Column<E>
An event is fired when the user clicks inside the table cell that belongs to the current column.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionClickEvent
(Table.Column<E> source, E item, boolean isText) Constructor for a click event. -
Method Summary
Methods inherited from class java.util.EventObject
toString
-
Field Details
-
item
-
isText
protected final boolean isText
-
-
Constructor Details
-
ClickEvent
Constructor for a click event.- Parameters:
source
- the Table column from which this event originatesitem
- an entity instance represented by the clicked rowisText
-true
if the user clicks on text inside the table cell,false
otherwise
-
-
Method Details
-
getSource
- Overrides:
getSource
in classEventObject
- Returns:
- the Table column from which this event originates
-
getItem
- Returns:
- an entity instance represented by the clicked row
-
isText
public boolean isText()- Returns:
true
if the user clicks on text inside the table cell,false
otherwise
-