public class XWCardLayout extends XLayoutContainer
XWidgetCreator.LimpidButton
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
DEFAULT_NAME |
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
构造器和说明 |
---|
XWCardLayout(WCardLayout widget,
java.awt.Dimension initSize) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
addToWrapper(XLayoutContainer parentPanel,
int width,
int minHeight)
将当前对象添加到父容器中
|
protected void |
addWidgetToSwingComponent(WLayout layout)
将WLayout转换为XLayoutContainer
|
protected void |
clearOrShowTitleLayout(boolean isTitleStyle) |
void |
componentAdded(java.awt.event.ContainerEvent e)
添加组件的监听事件
|
java.lang.String |
createDefaultName()
获取默认名字
|
void |
deleteRelatedComponent(XCreator creator,
FormDesigner designer)
删除相关组件
|
void |
firePropertyChange()
data属性改变触发其他操作
|
protected XLayoutContainer |
getCreatorWrapper(java.lang.String widgetName)
获取当前XCreator的一个封装父容器
|
CRPropertyDescriptor[] |
getDefaultDescriptor() |
protected java.lang.String |
getIconName() |
CRPropertyDescriptor[] |
getisCarousel() |
CRPropertyDescriptor[] |
getisnotCarousel() |
LayoutAdapter |
getLayoutAdapter() |
XLayoutContainer |
getTopLayout()
获取当前布局控件的顶层布局框架,如tab布局、绝对布局
|
boolean |
hasTitleStyle()
是否支持标题样式
|
java.awt.Dimension |
initEditorSize()
初始化时默认的组件大小
|
protected void |
initLayoutManager() |
protected void |
initStyle() |
void |
notShowInComponentTree(java.util.List<java.awt.Component> path)
控件树不显示此组件
|
void |
resetCreatorName(java.lang.String name)
重置组件的名称
|
void |
resetTabBackground(TemplateStyle templateStyle) |
void |
setBorder(javax.swing.border.Border border) |
protected void |
setWrapperName(XLayoutContainer parentPanel,
java.lang.String widgetName)
设置父容器的名字
|
void |
showCard()
展示当前选中的card
|
CRPropertyDescriptor[] |
supportedDescriptor()
得到属性名
|
boolean |
supportRenameInWidgetTree()
控件树面板中是否支持重命名选项
|
WCardLayout |
toData()
获取当前封装的布局对象
|
calculatePreferredSize, canEnterIntoParaPane, componentRemoved, convert, createMarginDescriptor, createWidgetNameDescriptor, findNearestFit, 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, initTitleStyle
ChangeCreatorName, makeVisible, paint, recalculateChildrenSize
acceptType, adjustCompHeight, adjustCompSize, adjustCompWidth, backupCurrentSize, backupParent, canEnterIntoAbsolutePane, canEnterIntoAdaptPane, createPopupMenu, createToolPane, destroyHelpDialog, displayCoverPane, getBackupBound, getBackupParent, getCoverPane, getDesignerEditor, getDirections, getEditingChildCreator, getIconPath, getMinimumSize, getOuterLayout, getParentShow, getPropertyDescriptorCreator, getShareId, getTargetChildrenList, getWidgetPropertyUIProviders, getXCreator, initCreatorWrapper, isDedicateContainer, isHelpBtnOnFocus, isMovable, isReport, isShared, isSupportDrag, isSupportShared, paintBorder, rebuid, recalculateChildHeight, recalculateChildWidth, resetData, resetVisible, respondClick, seleteRelatedComponent, setBackupBound, setBackupParent, setBounds, setDirections, setHelpBtnOnFocus, setInitSize, setShareId, setXDescrption, setXDescrption, shouldScaleCreator, stopEditing, 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, 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 static final java.lang.String DEFAULT_NAME
public XWCardLayout(WCardLayout widget, java.awt.Dimension initSize)
protected java.lang.String getIconName()
getIconName
在类中 XBorderStyleWidgetCreator
public java.lang.String createDefaultName()
createDefaultName
在类中 XCreator
public WCardLayout toData()
toData
在类中 XLayoutContainer
public java.awt.Dimension initEditorSize()
initEditorSize
在类中 XLayoutContainer
public void resetCreatorName(java.lang.String name)
resetCreatorName
在接口中 XCreatorTools
resetCreatorName
在类中 XCreator
name
- 名称protected void initLayoutManager()
initLayoutManager
在类中 XLayoutContainer
protected void addWidgetToSwingComponent(WLayout layout)
public void showCard()
protected XLayoutContainer getCreatorWrapper(java.lang.String widgetName)
getCreatorWrapper
在类中 XCreator
widgetName
- 当前组件名public void notShowInComponentTree(java.util.List<java.awt.Component> path)
notShowInComponentTree
在接口中 XCreatorTools
notShowInComponentTree
在类中 XCreator
path
- 控件树listprotected void setWrapperName(XLayoutContainer parentPanel, java.lang.String widgetName)
setWrapperName
在类中 XCreator
parentPanel
- 当前父容器widgetName
- 当前控件名protected void addToWrapper(XLayoutContainer parentPanel, int width, int minHeight)
addToWrapper
在类中 XCreator
parentPanel
- 父容器组件public void componentAdded(java.awt.event.ContainerEvent e)
componentAdded
在接口中 java.awt.event.ContainerListener
componentAdded
在类中 XLayoutContainer
e
- 事件public LayoutAdapter getLayoutAdapter()
getLayoutAdapter
在类中 XLayoutContainer
public boolean hasTitleStyle()
hasTitleStyle
在类中 XCreator
public CRPropertyDescriptor[] supportedDescriptor() throws java.beans.IntrospectionException
supportedDescriptor
在类中 XLayoutContainer
java.beans.IntrospectionException
public CRPropertyDescriptor[] getisCarousel() throws java.beans.IntrospectionException
java.beans.IntrospectionException
public CRPropertyDescriptor[] getisnotCarousel() throws java.beans.IntrospectionException
java.beans.IntrospectionException
public CRPropertyDescriptor[] getDefaultDescriptor() throws java.beans.IntrospectionException
java.beans.IntrospectionException
protected void initStyle()
initStyle
在类中 XBorderStyleWidgetCreator
protected void clearOrShowTitleLayout(boolean isTitleStyle)
public void deleteRelatedComponent(XCreator creator, FormDesigner designer)
deleteRelatedComponent
在类中 XCreator
creator
- 当前组件designer
- 表单设计器public void setBorder(javax.swing.border.Border border)
setBorder
在类中 javax.swing.JComponent
public XLayoutContainer getTopLayout()
XCreator
getTopLayout
在类中 XCreator
public boolean supportRenameInWidgetTree()
XCreator
supportRenameInWidgetTree
在类中 XCreator
public void firePropertyChange()
firePropertyChange
在类中 XLayoutContainer
public void resetTabBackground(TemplateStyle templateStyle)