public class XWCardTitleLayout extends XWBorderLayout
XWidgetCreator.LimpidButton
default_Length, editable, isMouseEnter, isRefreshing, LARGEPREFERREDSIZE, MIN_HEIGHT, MIN_WIDTH
BORDER_PREFERRED_SIZE
FULL_OPACITY, HALF_OPACITY
backupParent, backupSize, BIG_PREFERRED_SIZE, coverPanel, data, DEFALUTBORDER, editor, MIDDLE_PREFERRED_SIZE, SMALL_PREFERRED_SIZE
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
构造器和说明 |
---|
XWCardTitleLayout()
构造函数
|
XWCardTitleLayout(WCardTitleLayout widget,
java.awt.Dimension initSize)
构造函数
|
限定符和类型 | 方法和说明 |
---|---|
void |
addNewButton(XCardAddButton addBtn)
添加新建按钮
|
void |
addTagPart(XWCardTagLayout tagPart)
添加标签区域
|
void |
convert()
将WLayout转换为XLayoutContainer
|
java.lang.String |
createDefaultName()
默认名称
|
WTabDisplayPosition |
getDisplayPosition() |
int |
getIndexOfChild(java.lang.Object child) |
XWCardTagLayout |
getTagPart()
获取标签区域
|
XLayoutContainer |
getTopLayout()
获取当前布局控件的顶层布局框架,如tab布局、绝对布局
|
XCreator |
getXCreator()
返回组件
|
void |
notShowInComponentTree(java.util.List<java.awt.Component> path)
控件树不显示此组件
|
void |
resetNewBtnPosition(WTabDisplayPosition wTabDisplayPosition) |
void |
respondClick(EditingMouseListener editingMouseListener,
java.awt.event.MouseEvent e)
响应点击事件
|
void |
setBorder(javax.swing.border.Border border)
该布局隐藏,无需对边框进行操作
|
void |
setInitSize(java.awt.Dimension initSize)
初始化组件大小,titlePart的宽高可能为0
|
void |
stopAddingState(FormDesigner designer)
切换到非添加状态
|
add, add, calculatePreferredSize, componentAdded, getIconName, getLayoutAdapter, initEditorSize, initLayoutManager, recalculateChildrenSize, supportedDescriptor, toData
addWidgetToSwingComponent, canEnterIntoParaPane, componentRemoved, createMarginDescriptor, createWidgetNameDescriptor, findNearestFit, firePropertyChange, getAllXCreatorNameList, getBottomComp, getBottomLeftComp, getBottomRightComp, getDataBackground, getDesignWidth, getFRLayout, getHors, getLeftComp, getPosition, getRightBottomComp, getRightComp, getRightTopComp, getShowXCreatorCount, getTopComp, getVeris, getXCreator, getXCreatorCount, initEditor, initXCreatorProperties, isComponentTreeLeaf, isDelayDisplayContent, isDisplay, isEditable, isUseParamsTemplate, recalculateChildrenPreferredSize, replace, SearchQueryCreators, setBackground, setComponentZOrder, setDelayDisplayContent, setDisplay, setEditable, setMouseEnter, setPosition, setUseParamsTemplate, supportInnerOrderChangeActions, supportSetEnable, supportSetVisible
getInsets, initBorderStyle, initStyle, initTitleStyle
ChangeCreatorName, makeVisible, paint
acceptType, addToWrapper, adjustCompHeight, adjustCompSize, adjustCompWidth, backupCurrentSize, backupParent, canEnterIntoAbsolutePane, canEnterIntoAdaptPane, createPopupMenu, createToolPane, deleteRelatedComponent, destroyHelpDialog, displayCoverPane, getBackupBound, getBackupParent, getCoverPane, getCreatorWrapper, getDesignerEditor, getDirections, getEditingChildCreator, getIconPath, getMinimumSize, getOuterLayout, getParentShow, getPropertyDescriptorCreator, getShareId, getTargetChildrenList, getWidgetPropertyUIProviders, hasTitleStyle, initCreatorWrapper, isDedicateContainer, isHelpBtnOnFocus, isMovable, isReport, isShared, isSupportDrag, isSupportShared, paintBorder, rebuid, recalculateChildHeight, recalculateChildWidth, resetCreatorName, resetData, resetVisible, seleteRelatedComponent, setBackupBound, setBackupParent, setBounds, setDirections, setHelpBtnOnFocus, setShareId, setWrapperName, setXDescrption, setXDescrption, shouldScaleCreator, stopEditing, supportRenameInWidgetTree, updateChildBound, useBackupSize
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getListeners, getLocation, getMaximumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBounds
public XWCardTitleLayout()
public XWCardTitleLayout(WCardTitleLayout widget, java.awt.Dimension initSize)
public void setInitSize(java.awt.Dimension initSize)
setInitSize
在类中 XCreator
public WTabDisplayPosition getDisplayPosition()
public void notShowInComponentTree(java.util.List<java.awt.Component> path)
notShowInComponentTree
在接口中 XCreatorTools
notShowInComponentTree
在类中 XCreator
path
- 控件树listpublic int getIndexOfChild(java.lang.Object child)
getIndexOfChild
在类中 XLayoutContainer
public void convert()
convert
在类中 XWBorderLayout
public XWCardTagLayout getTagPart()
public void addTagPart(XWCardTagLayout tagPart)
tagPart
- 标签区域public void addNewButton(XCardAddButton addBtn)
addBtn
- 新建按钮public void resetNewBtnPosition(WTabDisplayPosition wTabDisplayPosition)
public void stopAddingState(FormDesigner designer)
stopAddingState
在类中 XLayoutContainer
designer
- 表单设计器public void setBorder(javax.swing.border.Border border)
setBorder
在类中 javax.swing.JComponent
border
- 边框public void respondClick(EditingMouseListener editingMouseListener, java.awt.event.MouseEvent e)
XCreator
respondClick
在类中 XCreator
editingMouseListener
- 鼠标点击,位置处理器e
- 鼠标点击事件public XLayoutContainer getTopLayout()
XCreator
getTopLayout
在类中 XCreator
public java.lang.String createDefaultName()
XWBorderLayout
createDefaultName
在类中 XWBorderLayout
public XCreator getXCreator()
XCreator
getXCreator
在类中 XCreator