public class XWTitleLayout extends DedicateLayoutContainer
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
构造器和说明 |
---|
XWTitleLayout() |
XWTitleLayout(WTitleLayout widget,
java.awt.Dimension initSize)
容器构造函数
|
限定符和类型 | 方法和说明 |
---|---|
void |
componentAdded(java.awt.event.ContainerEvent e)
组件增加
|
void |
componentRemoved(java.awt.event.ContainerEvent e)
组件删除
|
void |
convert()
将WLayout转换为XLayoutContainer
|
java.lang.String |
createDefaultName()
返回默认组件name
|
XCreator |
getEditingChildCreator()
返回编辑的子组件,scale为其内部组件
|
LayoutAdapter |
getLayoutAdapter()
容器的渲染器
|
XCreator |
getTitleCreator()
返回标题组件
|
WidgetPropertyUIProvider[] |
getWidgetPropertyUIProviders()
获取当前组件自定义的属性表tab
|
protected void |
initLayoutManager()
初始化容器对应的布局 由于是只装一个需要保持原样高度的控件,布局设为absolute
|
void |
paintBorder(java.awt.Graphics g,
java.awt.Rectangle bounds)
编辑状态的时候需要重新绘制下边框
|
void |
resetCreatorName(java.lang.String name)
重置组件的名称
|
WTitleLayout |
toData()
返回容器对应的wlayout
|
getIconPath, getPropertyDescriptorCreator, isComponentTreeLeaf, isDedicateContainer, notShowInComponentTree, resetVisible, supportedDescriptor
addWidgetToSwingComponent, calculatePreferredSize, canEnterIntoParaPane, createMarginDescriptor, createWidgetNameDescriptor, findNearestFit, firePropertyChange, getAllXCreatorNameList, getBottomComp, getBottomLeftComp, getBottomRightComp, getDataBackground, getDesignWidth, getFRLayout, getHors, getIndexOfChild, getLeftComp, getPosition, getRightBottomComp, getRightComp, getRightTopComp, getShowXCreatorCount, getTopComp, getVeris, getXCreator, getXCreatorCount, initEditor, initEditorSize, initXCreatorProperties, isDelayDisplayContent, isDisplay, isEditable, isUseParamsTemplate, recalculateChildrenPreferredSize, replace, SearchQueryCreators, setBackground, setComponentZOrder, setDelayDisplayContent, setDisplay, setEditable, setMouseEnter, setPosition, setUseParamsTemplate, stopAddingState, supportInnerOrderChangeActions, supportSetEnable, supportSetVisible
getIconName, getInsets, initBorderStyle, initStyle, initTitleStyle
ChangeCreatorName, makeVisible, paint, recalculateChildrenSize
acceptType, addToWrapper, adjustCompHeight, adjustCompSize, adjustCompWidth, backupCurrentSize, backupParent, canEnterIntoAbsolutePane, canEnterIntoAdaptPane, createPopupMenu, createToolPane, deleteRelatedComponent, destroyHelpDialog, displayCoverPane, getBackupBound, getBackupParent, getCoverPane, getCreatorWrapper, getDesignerEditor, getDirections, getMinimumSize, getOuterLayout, getParentShow, getShareId, getTargetChildrenList, getTopLayout, getXCreator, hasTitleStyle, initCreatorWrapper, isHelpBtnOnFocus, isMovable, isReport, isShared, isSupportDrag, isSupportShared, rebuid, recalculateChildHeight, recalculateChildWidth, resetData, respondClick, seleteRelatedComponent, setBackupBound, setBackupParent, setBounds, setDirections, setHelpBtnOnFocus, setInitSize, 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, setBorder, 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, 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 XWTitleLayout()
public XWTitleLayout(WTitleLayout widget, java.awt.Dimension initSize)
widget
- 控件widgetinitSize
- 尺寸大小protected void initLayoutManager()
initLayoutManager
在类中 XLayoutContainer
public LayoutAdapter getLayoutAdapter()
getLayoutAdapter
在类中 XLayoutContainer
public XCreator getEditingChildCreator()
XCreator
getEditingChildCreator
在接口中 XCreatorTools
getEditingChildCreator
在类中 XCreator
public WTitleLayout toData()
toData
在类中 XLayoutContainer
public void resetCreatorName(java.lang.String name)
resetCreatorName
在接口中 XCreatorTools
resetCreatorName
在类中 DedicateLayoutContainer
name
- 名称public java.lang.String createDefaultName()
createDefaultName
在类中 XCreator
public XCreator getTitleCreator()
public void paintBorder(java.awt.Graphics g, java.awt.Rectangle bounds)
paintBorder
在类中 XCreator
public void convert()
convert
在类中 XLayoutContainer
public void componentAdded(java.awt.event.ContainerEvent e)
componentAdded
在接口中 java.awt.event.ContainerListener
componentAdded
在类中 XLayoutContainer
e
- 容器事件public void componentRemoved(java.awt.event.ContainerEvent e)
componentRemoved
在接口中 java.awt.event.ContainerListener
componentRemoved
在类中 XLayoutContainer
e
- 容器事件public WidgetPropertyUIProvider[] getWidgetPropertyUIProviders()
XCreator
getWidgetPropertyUIProviders
在类中 XCreator