Package com.vaadin.v7.event
Class SortEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.event.ConnectorEvent
-
- com.vaadin.ui.Component.Event
-
- com.vaadin.v7.event.SortEvent
-
- All Implemented Interfaces:
Serializable
@Deprecated public class SortEvent extends Component.Event
Deprecated.Event describing a change in sorting of aContainer
. Fired bySortNotifiers
.- Since:
- 7.4
- Author:
- Vaadin Ltd
- See Also:
SortEvent.SortListener
, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SortEvent.SortListener
Deprecated.static interface
SortEvent.SortNotifier
Deprecated.
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<SortOrder>
getSortOrder()
Deprecated.Gets the sort order list.boolean
isUserOriginated()
Deprecated.Returns whether this event originated from actions done by the user.-
Methods inherited from class com.vaadin.ui.Component.Event
getComponent
-
Methods inherited from class com.vaadin.event.ConnectorEvent
getConnector
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
SortEvent
public SortEvent(Component source, List<SortOrder> sortOrder, boolean userOriginated)
Deprecated.Creates a new sort order change event with a sort order list.- Parameters:
source
- the component from which the event originatessortOrder
- the new sort order listuserOriginated
-true
if event is a result of user interaction,false
if from API call
-
-
Method Detail
-
getSortOrder
public List<SortOrder> getSortOrder()
Deprecated.Gets the sort order list.- Returns:
- the sort order list
-
isUserOriginated
public boolean isUserOriginated()
Deprecated.Returns whether this event originated from actions done by the user.- Returns:
- true if sort event originated from user interaction
-
-