public class XWBorderLayout extends XLayoutContainer
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
构造器和说明 |
---|
XWBorderLayout() |
XWBorderLayout(WBorderLayout widget,
java.awt.Dimension initSize) |
限定符和类型 | 方法和说明 |
---|---|
void |
add(java.awt.Component comp,
java.lang.Object constraints)
在添加的时候需要把可拉伸的方向确定,所以重写了add方法
|
static void |
add(WBorderLayout layout,
Widget wgt,
java.lang.Object constraints)
加入控件
|
protected java.awt.Dimension |
calculatePreferredSize(Widget wgt)
根据widget的属性值来获取
|
void |
componentAdded(java.awt.event.ContainerEvent e)
设计界面中有组件添加时,要通知WLayout容器重新paint
|
void |
convert()
将WLayout转换为XLayoutContainer
|
java.lang.String |
createDefaultName()
默认名称
|
protected java.lang.String |
getIconName() |
LayoutAdapter |
getLayoutAdapter() |
java.awt.Dimension |
initEditorSize()
初始大小
|
protected void |
initLayoutManager() |
void |
recalculateChildrenSize()
重新计算大小
|
CRPropertyDescriptor[] |
supportedDescriptor()
得到属性名
|
WBorderLayout |
toData()
转化成相应 WBorderLayout
|
addWidgetToSwingComponent, canEnterIntoParaPane, componentRemoved, createMarginDescriptor, createWidgetNameDescriptor, findNearestFit, firePropertyChange, getAllXCreatorNameList, getBottomComp, getBottomLeftComp, getBottomRightComp, getDataBackground, getDesignWidth, getFRLayout, getHors, getIndexOfChild, 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, stopAddingState, 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, getTopLayout, getWidgetPropertyUIProviders, getXCreator, hasTitleStyle, initCreatorWrapper, isDedicateContainer, isHelpBtnOnFocus, isMovable, isReport, isShared, isSupportDrag, isSupportShared, notShowInComponentTree, paintBorder, rebuid, recalculateChildHeight, recalculateChildWidth, resetCreatorName, resetData, resetVisible, 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, 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 XWBorderLayout()
public XWBorderLayout(WBorderLayout widget, java.awt.Dimension initSize)
protected java.lang.String getIconName()
getIconName
在类中 XBorderStyleWidgetCreator
public java.lang.String createDefaultName()
createDefaultName
在类中 XCreator
public WBorderLayout toData()
toData
在类中 XLayoutContainer
protected void initLayoutManager()
initLayoutManager
在类中 XLayoutContainer
public java.awt.Dimension initEditorSize()
initEditorSize
在类中 XLayoutContainer
public CRPropertyDescriptor[] supportedDescriptor() throws java.beans.IntrospectionException
supportedDescriptor
在类中 XLayoutContainer
java.beans.IntrospectionException
- 抛错public void convert()
convert
在类中 XLayoutContainer
public void componentAdded(java.awt.event.ContainerEvent e)
componentAdded
在接口中 java.awt.event.ContainerListener
componentAdded
在类中 XLayoutContainer
e
- 事件protected java.awt.Dimension calculatePreferredSize(Widget wgt)
XLayoutContainer
calculatePreferredSize
在类中 XLayoutContainer
public static void add(WBorderLayout layout, Widget wgt, java.lang.Object constraints)
layout
- 布局wgt
- 控件constraints
- 方位public void recalculateChildrenSize()
public void add(java.awt.Component comp, java.lang.Object constraints)
add
在类中 java.awt.Container
comp
- 组件constraints
- 方位public LayoutAdapter getLayoutAdapter()
getLayoutAdapter
在类中 XLayoutContainer