public class TabEditingEvent extends AWTEvent
| Modifier and Type | Field and Description |
|---|---|
static int |
TAB_EDITING_CANCELLED |
static int |
TAB_EDITING_STARTED
The first number in the range of IDs used for
TabChangeEvent. |
static int |
TAB_EDITING_STOPPED |
ACTION_EVENT_MASK, ADJUSTMENT_EVENT_MASK, COMPONENT_EVENT_MASK, consumed, CONTAINER_EVENT_MASK, FOCUS_EVENT_MASK, HIERARCHY_BOUNDS_EVENT_MASK, HIERARCHY_EVENT_MASK, id, INPUT_METHOD_EVENT_MASK, INVOCATION_EVENT_MASK, ITEM_EVENT_MASK, KEY_EVENT_MASK, MOUSE_EVENT_MASK, MOUSE_MOTION_EVENT_MASK, MOUSE_WHEEL_EVENT_MASK, PAINT_EVENT_MASK, RESERVED_ID_MAX, TEXT_EVENT_MASK, WINDOW_EVENT_MASK, WINDOW_FOCUS_EVENT_MASK, WINDOW_STATE_EVENT_MASKsource| Constructor and Description |
|---|
TabEditingEvent(Object source,
int id,
int tabIndex) |
TabEditingEvent(Object source,
int id,
int tabIndex,
String oldTitle,
String newTitle) |
| Modifier and Type | Method and Description |
|---|---|
String |
getNewTitle()
The new title after tab editing.
|
String |
getOldTitle()
Gets the old the title.
|
int |
getTabIndex()
Gets the tab index where the tab editing happened.
|
consume, getID, isConsumed, paramString, setSource, toStringgetSourcepublic static final int TAB_EDITING_STARTED
TabChangeEvent.public static final int TAB_EDITING_STOPPED
public static final int TAB_EDITING_CANCELLED
public TabEditingEvent(Object source, int id, int tabIndex)
public int getTabIndex()
public String getOldTitle()
public String getNewTitle()
Copyright © 2017. All rights reserved.