public class XWCardMainBorderLayout 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
构造器和说明 |
---|
XWCardMainBorderLayout(WCardMainBorderLayout border,
java.awt.Dimension dimension)
构造函数
|
限定符和类型 | 方法和说明 |
---|---|
void |
add(java.awt.Component comp,
java.lang.String position) |
void |
addCardPart(XWCardLayout card)
添加card区域
|
void |
addTitlePart(XWCardTitleLayout title,
java.lang.String position)
添加标题区域
|
void |
convert()
将WLayout转换为XLayoutContainer
|
void |
firePropertyChange()
data属性改变触发其他操作
|
XWCardLayout |
getCardPart() |
int |
getIndexOfChild(java.lang.Object child) |
LayoutAdapter |
getLayoutAdapter() |
int |
getShowXCreatorCount() |
java.util.ArrayList<XWTabFitLayout> |
getTargetChildrenList()
返回一些需要的子组件
|
XWCardTitleLayout |
getTitlePart() |
int |
getTitleWidth() |
XLayoutContainer |
getTopLayout()
XWCardMainBorderLayout是card布局主体框架,tab的顶层布局
|
XCreator |
getXCreator()
控件树里需要隐藏xwcardmainLayout,返回其子组件xwcardLayout;
标题样式下,this.getComponent(1)==xwcardLayout
标准样式下,this.getComponent(0)==xwcardLayout
|
boolean |
isSupportShared()
是否支持共享-现只支持报表块、图表、tab块、绝对布局
|
void |
notShowInComponentTree(java.util.List<java.awt.Component> path)
控件树不显示此组件
|
void |
paint(java.awt.Graphics g)
渲染Painter
|
void |
paintBorder(java.awt.Graphics g,
java.awt.Rectangle bounds)
编辑状态的时候需要重新绘制下边框
|
void |
paintExtro(java.awt.Graphics g) |
void |
recalculateChildHeight(int height,
boolean actualSize)
重新调整子组件的高度
|
void |
recalculateChildWidth(int width,
boolean actualSize)
重新调整子组件的宽度
|
void |
resetTabDisplayPosition(WTabDisplayPosition wTabDisplayPosition) |
void |
respondClick(EditingMouseListener editingMouseListener,
java.awt.event.MouseEvent e)
响应点击事件
|
void |
stopAddingState(FormDesigner designer)
切换到非添加状态
|
WCardMainBorderLayout |
toData()
获取当前组件里的控件
|
add, add, calculatePreferredSize, componentAdded, createDefaultName, getIconName, initEditorSize, initLayoutManager, recalculateChildrenSize, supportedDescriptor
addWidgetToSwingComponent, canEnterIntoParaPane, componentRemoved, createMarginDescriptor, createWidgetNameDescriptor, findNearestFit, getAllXCreatorNameList, getBottomComp, getBottomLeftComp, getBottomRightComp, getDataBackground, getDesignWidth, getFRLayout, getHors, getLeftComp, getPosition, getRightBottomComp, getRightComp, getRightTopComp, 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
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, getWidgetPropertyUIProviders, hasTitleStyle, initCreatorWrapper, isDedicateContainer, isHelpBtnOnFocus, isMovable, isReport, isShared, isSupportDrag, rebuid, resetCreatorName, resetData, resetVisible, 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 XWCardMainBorderLayout(WCardMainBorderLayout border, java.awt.Dimension dimension)
public WCardMainBorderLayout toData()
toData
在类中 XWBorderLayout
public void addTitlePart(XWCardTitleLayout title, java.lang.String position)
title
- 标题区域public int getTitleWidth()
public void add(java.awt.Component comp, java.lang.String position)
public void convert()
convert
在类中 XWBorderLayout
public void stopAddingState(FormDesigner designer)
stopAddingState
在类中 XLayoutContainer
designer
- 表单设计器public void addCardPart(XWCardLayout card)
card
- card区域public XWCardLayout getCardPart()
public XWCardTitleLayout getTitlePart()
public XCreator getXCreator()
getXCreator
在类中 XCreator
public void notShowInComponentTree(java.util.List<java.awt.Component> path)
notShowInComponentTree
在接口中 XCreatorTools
notShowInComponentTree
在类中 XCreator
path
- 控件树listpublic int getShowXCreatorCount()
getShowXCreatorCount
在类中 XLayoutContainer
public java.util.ArrayList<XWTabFitLayout> getTargetChildrenList()
XCreator
getTargetChildrenList
在类中 XCreator
public void recalculateChildWidth(int width, boolean actualSize)
recalculateChildWidth
在类中 XCreator
width
- 宽度actualSize
- 是否按照实际大小计算public void recalculateChildHeight(int height, boolean actualSize)
recalculateChildHeight
在类中 XCreator
height
- 高度actualSize
- 是否按照实际大小计算public void paint(java.awt.Graphics g)
XWidgetCreator
paint
在类中 XWidgetCreator
public void paintExtro(java.awt.Graphics g)
public void paintBorder(java.awt.Graphics g, java.awt.Rectangle bounds)
XCreator
paintBorder
在类中 XCreator
public void respondClick(EditingMouseListener editingMouseListener, java.awt.event.MouseEvent e)
respondClick
在类中 XCreator
editingMouseListener
- 鼠标点击,位置处理器e
- 鼠标点击事件public XLayoutContainer getTopLayout()
getTopLayout
在类中 XCreator
public int getIndexOfChild(java.lang.Object child)
getIndexOfChild
在类中 XLayoutContainer
public void firePropertyChange()
firePropertyChange
在类中 XLayoutContainer
public void resetTabDisplayPosition(WTabDisplayPosition wTabDisplayPosition)
public LayoutAdapter getLayoutAdapter()
getLayoutAdapter
在类中 XWBorderLayout
public boolean isSupportShared()
isSupportShared
在类中 XCreator