public class XElementCase extends XBorderStyleWidgetCreator implements FormElementCaseContainerProvider
XWidgetCreator.LimpidButton
BORDER_PREFERRED_SIZE
FULL_OPACITY, HALF_OPACITY
backupParent, backupSize, BIG_PREFERRED_SIZE, 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
构造器和说明 |
---|
XElementCase(ElementCaseEditor widget,
java.awt.Dimension initSize) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
canEnterIntoParaPane()
该组件是否可以拖入参数面板
|
java.lang.String |
createDefaultName()
返回组件默认名
|
void |
destroyHelpDialog()
销毁帮助提示框
|
void |
displayCoverPane(boolean display)
是否展现覆盖的pane
|
void |
firePropertyChange()
data属性改变触发其他操作
|
javax.swing.JComponent |
getCoverPane() |
FormElementCaseProvider |
getElementCase()
获取容器内的ElementCase
|
java.lang.String |
getElementCaseContainerName()
获取容器的WidgetName
|
CRPropertyDescriptor[] |
getExtraTableEditor() |
protected java.lang.String |
getIconName() |
java.awt.Dimension |
getSize()
获取控件的大小, 用于生成缩略图
|
WidgetPropertyUIProvider[] |
getWidgetPropertyUIProviders()
获取当前组件自定义的属性表tab
|
boolean |
hasTitleStyle()
是否支持设置标题
|
protected javax.swing.JComponent |
initEditor() |
java.awt.Dimension |
initEditorSize()
初始化大小
|
protected void |
initXCreatorProperties()
根据Widget的属性值初始化XCreator的属性值
|
boolean |
isReport()
是否是报表块
|
boolean |
isSupportShared()
是否支持共享-现只支持报表块、图表、tab块、绝对布局
|
void |
paintBorder(java.awt.Graphics g,
java.awt.Rectangle bounds)
编辑状态的时候需要重新绘制下边框
|
void |
respondClick(EditingMouseListener editingMouseListener,
java.awt.event.MouseEvent e)
响应点击事件
|
void |
setBackground(java.awt.image.BufferedImage image)
将报表缩略图设置为当前控件的背景
|
void |
setElementCase(FormElementCaseProvider el)
设置容器内的ElementCase
|
void |
setXDescrption(java.lang.String msg)
设置描述信息
|
CRPropertyDescriptor[] |
supportedDescriptor()
返回组件属性值
|
boolean |
supportSetEnable()
是否支持设置可用
return boolean
|
ElementCaseEditor |
toData()
返回报表块对应的widget
|
getInsets, initBorderStyle, initStyle, initTitleStyle
ChangeCreatorName, makeVisible, paint, recalculateChildrenSize
acceptType, addToWrapper, adjustCompHeight, adjustCompSize, adjustCompWidth, backupCurrentSize, backupParent, canEnterIntoAbsolutePane, canEnterIntoAdaptPane, createPopupMenu, createToolPane, deleteRelatedComponent, getAllXCreatorNameList, getBackupBound, getBackupParent, getCreatorWrapper, getDesignerEditor, getDirections, getEditingChildCreator, getIconPath, getMinimumSize, getOuterLayout, getParentShow, getPropertyDescriptorCreator, getShareId, getTargetChildrenList, getTopLayout, getXCreator, initCreatorWrapper, isComponentTreeLeaf, isDedicateContainer, isHelpBtnOnFocus, isMovable, isShared, isSupportDrag, notShowInComponentTree, rebuid, recalculateChildHeight, recalculateChildWidth, resetCreatorName, resetData, resetVisible, SearchQueryCreators, seleteRelatedComponent, setBackupBound, setBackupParent, setBounds, setDirections, setHelpBtnOnFocus, setInitSize, setShareId, setWrapperName, setXDescrption, shouldScaleCreator, stopEditing, supportRenameInWidgetTree, supportSetVisible, 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, 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 XElementCase(ElementCaseEditor widget, java.awt.Dimension initSize)
protected void initXCreatorProperties()
XWidgetCreator
initXCreatorProperties
在类中 XWidgetCreator
public boolean hasTitleStyle()
hasTitleStyle
在类中 XCreator
public CRPropertyDescriptor[] supportedDescriptor() throws java.beans.IntrospectionException
supportedDescriptor
在类中 XWidgetCreator
java.beans.IntrospectionException
- 异常public CRPropertyDescriptor[] getExtraTableEditor()
protected java.lang.String getIconName()
getIconName
在类中 XBorderStyleWidgetCreator
public java.lang.String createDefaultName()
createDefaultName
在类中 XCreator
protected javax.swing.JComponent initEditor()
initEditor
在类中 XBorderStyleWidgetCreator
public void displayCoverPane(boolean display)
displayCoverPane
在类中 XCreator
display
- 是否public void destroyHelpDialog()
destroyHelpDialog
在类中 XCreator
public javax.swing.JComponent getCoverPane()
getCoverPane
在类中 XCreator
public void paintBorder(java.awt.Graphics g, java.awt.Rectangle bounds)
XCreator
paintBorder
在类中 XCreator
public java.awt.Dimension initEditorSize()
initEditorSize
在类中 XCreator
public boolean canEnterIntoParaPane()
canEnterIntoParaPane
在类中 XCreator
public ElementCaseEditor toData()
toData
在类中 XBorderStyleWidgetCreator
public FormElementCaseProvider getElementCase()
FormElementCaseContainerProvider
public java.lang.String getElementCaseContainerName()
FormElementCaseContainerProvider
public void setElementCase(FormElementCaseProvider el)
FormElementCaseContainerProvider
public void setBackground(java.awt.image.BufferedImage image)
FormElementCaseContainerProvider
public java.awt.Dimension getSize()
FormElementCaseContainerProvider
getSize
在接口中 FormElementCaseContainerProvider
getSize
在类中 java.awt.Component
public void respondClick(EditingMouseListener editingMouseListener, java.awt.event.MouseEvent e)
respondClick
在类中 XCreator
editingMouseListener
- 事件处理器e
- 点击事件public WidgetPropertyUIProvider[] getWidgetPropertyUIProviders()
XCreator
getWidgetPropertyUIProviders
在类中 XCreator
public void setXDescrption(java.lang.String msg)
XCreator
setXDescrption
在类中 XCreator
msg
- 帮助信息public void firePropertyChange()
public boolean supportSetEnable()
supportSetEnable
在类中 XCreator
public boolean isSupportShared()
isSupportShared
在类中 XCreator