Package com.jbstrap.core.event
Class ListGridColumnResizeEvent
java.lang.Object
com.jbstrap.core.event.BaseEvent
com.jbstrap.core.event.BaseJBStrapEvent
com.jbstrap.core.event.ListGridColumnResizeEvent
This class contains the data of the ListGrid Column resize event.
These are the following:
- The client on which the event occurred
- The ID of the component on which the event occurred
- The event type
- The instance of the component, on which the event occurred
- The event's unique ID
- The map, containing the new column widths, in pixels
- Since:
- 4.0
- Author:
- JBStrap
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets a list of the name of the ListGrid columnsgetColumnWidth
(String columnName) Gets the specified ListGrid column's widthGets a map of the new ListGrid column widthMethods inherited from class com.jbstrap.core.event.BaseJBStrapEvent
fireEvent
Methods inherited from class com.jbstrap.core.event.BaseEvent
getClient, getComponent, getEventId, getEventType, getSenderId
-
Constructor Details
-
ListGridColumnResizeEvent
public ListGridColumnResizeEvent()
-
-
Method Details
-
getColumnWidths
Gets a map of the new ListGrid column width- Returns:
- A map of the new ListGrid column width. The Map key is column name, the map value will is the column width in pixels.
-
getColumnWidth
Gets the specified ListGrid column's width- Parameters:
columnName
- The ListGrid column name- Returns:
- The column width in pixels or
null
, if not found
-
getColumnNames
Gets a list of the name of the ListGrid columns- Returns:
- A list with the name of every ListGrid column
-