public class XChartEditor extends XBorderStyleWidgetCreator
XWidgetCreator.LimpidButton
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
构造器和说明 |
---|
XChartEditor(BaseChartEditor editor) |
XChartEditor(BaseChartEditor editor,
java.awt.Dimension size) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
canEnterIntoParaPane()
该组件是否可以拖入参数面板
|
java.lang.String |
createDefaultName()
返回组件默认名
|
javax.swing.JComponent |
createToolPane(BaseJForm jform,
FormDesigner formDesigner)
点击选中的时候, 刷新界面
右键 reset之后, 触发事件 populate此方法
|
void |
displayCoverPane(boolean display)
是否展现覆盖的pane
|
void |
firePropertyChange()
data属性改变触发其他操作
|
javax.swing.JComponent |
getCoverPane() |
DesignerEditor<javax.swing.JComponent> |
getDesignerEditor()
返回设计器的Editor
|
protected java.lang.String |
getIconName() |
java.lang.String |
getIconPath() |
WidgetPropertyUIProvider[] |
getWidgetPropertyUIProviders()
获取当前组件自定义的属性表tab
|
boolean |
hasTitleStyle()
是否支持设置标题
|
protected javax.swing.JComponent |
initEditor() |
java.awt.Dimension |
initEditorSize()
初始化Editor大小.
|
protected void |
initXCreatorProperties()
根据Widget的属性值初始化XCreator的属性值
|
boolean |
isSupportShared()
是否支持共享-现只支持报表块、图表、tab块、绝对布局
|
void |
paint(java.awt.Graphics g)
渲染Painter
|
void |
paintBorder(java.awt.Graphics g,
java.awt.Rectangle bounds)
编辑状态的时候需要重新绘制下边框
|
void |
respondClick(EditingMouseListener editingMouseListener,
java.awt.event.MouseEvent e)
响应点击事件
|
void |
stopEditing()
有的控件是有编辑状态的,给一个退出编辑的接口
|
CRPropertyDescriptor[] |
supportedDescriptor()
得到属性名
|
boolean |
supportSetEnable()
是否支持设置可用
return boolean
|
getInsets, initBorderStyle, initStyle, initTitleStyle, toData
ChangeCreatorName, makeVisible, recalculateChildrenSize
acceptType, addToWrapper, adjustCompHeight, adjustCompSize, adjustCompWidth, backupCurrentSize, backupParent, canEnterIntoAbsolutePane, canEnterIntoAdaptPane, createPopupMenu, deleteRelatedComponent, destroyHelpDialog, getAllXCreatorNameList, getBackupBound, getBackupParent, getCreatorWrapper, getDirections, getEditingChildCreator, getMinimumSize, getOuterLayout, getParentShow, getPropertyDescriptorCreator, getShareId, getTargetChildrenList, getTopLayout, getXCreator, initCreatorWrapper, isComponentTreeLeaf, isDedicateContainer, isHelpBtnOnFocus, isMovable, isReport, isShared, isSupportDrag, notShowInComponentTree, rebuid, recalculateChildHeight, recalculateChildWidth, resetCreatorName, resetData, resetVisible, SearchQueryCreators, seleteRelatedComponent, setBackupBound, setBackupParent, setBounds, setDirections, setHelpBtnOnFocus, setInitSize, setShareId, setWrapperName, setXDescrption, setXDescrption, shouldScaleCreator, 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, 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 XChartEditor(BaseChartEditor editor)
public XChartEditor(BaseChartEditor editor, java.awt.Dimension size)
public java.lang.String getIconPath()
getIconPath
在类中 XCreator
protected java.lang.String getIconName()
getIconName
在类中 XBorderStyleWidgetCreator
public java.lang.String createDefaultName()
createDefaultName
在类中 XCreator
public boolean hasTitleStyle()
hasTitleStyle
在类中 XCreator
public void stopEditing()
XCreator
stopEditing
在类中 XCreator
public CRPropertyDescriptor[] supportedDescriptor() throws java.beans.IntrospectionException
supportedDescriptor
在类中 XWidgetCreator
java.beans.IntrospectionException
public boolean canEnterIntoParaPane()
canEnterIntoParaPane
在类中 XCreator
public void paintBorder(java.awt.Graphics g, java.awt.Rectangle bounds)
paintBorder
在类中 XCreator
public DesignerEditor<javax.swing.JComponent> getDesignerEditor()
getDesignerEditor
在类中 XCreator
protected void initXCreatorProperties()
XWidgetCreator
initXCreatorProperties
在类中 XWidgetCreator
public javax.swing.JComponent createToolPane(BaseJForm jform, FormDesigner formDesigner)
createToolPane
在接口中 XComponent
createToolPane
在类中 XCreator
jform
- 表单formDesigner
- 表单设计器public void paint(java.awt.Graphics g)
paint
在类中 XWidgetCreator
public java.awt.Dimension initEditorSize()
initEditorSize
在类中 XCreator
public void respondClick(EditingMouseListener editingMouseListener, java.awt.event.MouseEvent e)
respondClick
在类中 XCreator
editingMouseListener
- 鼠标点击,位置处理器e
- 鼠标点击事件protected javax.swing.JComponent initEditor()
initEditor
在类中 XBorderStyleWidgetCreator
public void displayCoverPane(boolean display)
displayCoverPane
在类中 XCreator
display
- 是否public javax.swing.JComponent getCoverPane()
getCoverPane
在类中 XCreator
public boolean supportSetEnable()
supportSetEnable
在类中 XCreator
public void firePropertyChange()
public WidgetPropertyUIProvider[] getWidgetPropertyUIProviders()
XCreator
getWidgetPropertyUIProviders
在类中 XCreator
public boolean isSupportShared()
isSupportShared
在类中 XCreator