public class TabMoveAction extends FormUndoableAction
UpdateAction.ComponentRemoveEvent, UpdateAction.UseMenuItem
CURRENT_LEVEL, TEMPLATE_TREE
构造器和说明 |
---|
TabMoveAction(FormDesigner t,
XCardSwitchButton xCardSwitchButton) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
changeTabIndex(XWCardTagLayout xwCardTagLayout,
XWCardLayout xwCardLayout,
int currentIndex,
int maxIndex) |
boolean |
executeActionReturnUndoRecordNeeded() |
protected int |
getTabMoveIndex(CardSwitchButton currentButton)
获取tab移动的目的索引:首位,末尾,下一个,上一个
|
XCardSwitchButton |
getxCardSwitchButton() |
void |
setxCardSwitchButton(XCardSwitchButton xCardSwitchButton) |
getEditingComponent, prepare4Undo, setEditingComponent, update
actionPerformed, actionPerformedUndoable
addPropertyChangeListener, createCheckBoxMenuItem, createMenuItem, createMenuItemEastAttr, createToolBarComponent, createUseMenuItem, equals, generateAndSetSearchText, getAccelerator, getComponentTexts, getMnemonic, getName, getSearchText, getSmallIcon, getToolTipText, getValue, hashCode, intoJPopupMenu, intoJToolBar, isEnabled, putValue, removePropertyChangeListener, setAccelerator, setEnabled, setMnemonic, setName, setSearchText, setSmallIcon, setSmallIcon
asToolBarDef, currentAPILevel, getMenuKeySet, mark4Provider, notifyFromAuhtorityChange, setMenuKeySet
public TabMoveAction(FormDesigner t, XCardSwitchButton xCardSwitchButton)
public boolean executeActionReturnUndoRecordNeeded()
protected void changeTabIndex(XWCardTagLayout xwCardTagLayout, XWCardLayout xwCardLayout, int currentIndex, int maxIndex)
protected int getTabMoveIndex(CardSwitchButton currentButton)
currentButton
- 当前按钮public XCardSwitchButton getxCardSwitchButton()
public void setxCardSwitchButton(XCardSwitchButton xCardSwitchButton)