public class FormParaDesigner extends FormDesigner implements ParameterDesignerProvider
designerActions, LARGE_PREFERRED_SIZE, NAME_ARRAY_LIST
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
构造器和说明 |
---|
FormParaDesigner() |
FormParaDesigner(FormParameterUI ui) |
限定符和类型 | 方法和说明 |
---|---|
void |
addingAllParameter2Editor(Parameter[] parameterArray,
int currentIndex)
加入参数
|
boolean |
addingParameter2Editor(Parameter parameter,
int currentIndex)
加入参数
|
boolean |
addingParameter2EditorWithQueryButton(Parameter parameter,
int currentIndex)
加入参数
|
void |
addListener(ParaDefinitePane paraDefinitePane)
给包含此FormParaDesigner的ParameterDefinitePane添加事件
|
boolean |
autoAddComponent(XCreator xCreator,
int x,
int y)
自动添加
|
AuthorityEditPane |
createAuthorityEditPane()
创建权限编辑面板
|
protected FormDesignerModeForSpecial<?> |
createFormDesignerTargetMode() |
java.awt.Component |
createWrapper()
包裹一层FormArea
|
UpdateAction[] |
getActions()
返回复制粘贴删除等动作
|
java.util.List<java.lang.String> |
getAllXCreatorNameList()
参数面板控件的名字
|
AuthorityEditPane |
getAuthorityEditPane()
权限编辑面板
|
java.awt.Dimension |
getDesignSize() |
javax.swing.JPanel |
getEastDownPane()
参数属性表
|
javax.swing.JPanel |
getEastUpPane()
内容属性表面板
|
XLayoutContainer |
getParaComponent() |
ParameterUI |
getParaTarget()
就是getTarget 为了返回ParameterUI接口而不冲突另写个
|
java.awt.Dimension |
getPreferredSize()
得到合适的大小
|
boolean |
hasWAbsoluteLayout()
报表直接判断底层是否是绝对布局
|
void |
initBeforeUpEdit()
开始编辑参数面板的时候进行的初始化
|
void |
initWidgetToolbarPane()
初始化
|
boolean |
isBlank()
判断这个参数面板是否没有控件
|
boolean |
isFormParaDesigner()
是否是报表的参数面板
|
boolean |
isWithoutParaXCreator(Parameter[] allParameters)
看看参数面板中的控件是否有和模板参数同名的
|
boolean |
isWithQueryButton()
是否有查询按钮
|
void |
paintContent(java.awt.Graphics clipg)
paintContent
|
void |
populate(ParameterUI ui)
populate
|
void |
populateParameterPropertyPane(ParaDefinitePane p)
ParameterDefinitePane通过ParaDesigner来调用ParameterPropertyPane
|
void |
populateRootSize()
刷新尺寸
|
boolean |
prepareForAdd(XCreator creator,
int x,
int y,
XWAbsoluteLayout layout)
在参数很多时,全部添加的时候,可以向下一次排版,若去掉就会在参数面板堆到一起
|
void |
refresh4TableData(java.lang.String oldName,
java.lang.String newName)
刷新tableData
|
void |
refreshAllNameWidgets()
刷新控件
|
void |
refreshParameter(ParaDefinitePane p)
刷新参数
|
void |
refreshParameter(ParaDefinitePane p,
JTemplate jt)
刷新参数
|
void |
refreshRoot()
刷新底层容器
|
void |
setDesignHeight(int height)
设置高度
|
protected void |
setRootComponent(XLayoutContainer component) |
protected void |
setToolbarButtons(boolean flag) |
javax.swing.JComponent[] |
toolBarButton4Form()
复制等按钮
|
javax.swing.JPanel[] |
toolbarPanes4Form()
工具栏
|
void |
updateHeight(int height)
保存参数界面的高度
|
void |
updateWidth(int width)
保存参数界面的宽度
|
addDesignerEditListener, addingAllParameter2Editor, addingParameter2Editor, addingParameter2EditorWithQueryButton, addInvocationHandler, addParaComponent, cancelFormat, copy, cut, dmlActions, doMousePress, getAddingModel, getArea, getComponentAt, getComponentAt, getComponentAt, getComponentAt, getDesignerMode, getDrawLineHelper, getEditListenerTable, getElementCase, getElementCaseContainer, getElementCaseContainerName, getElementCaseContainerSize, getLoc2Root, getMenuState, getNoRepeatParas, getOuterBorder, getOutlineBounds, getOutlineInsets, getPainter, getParaHeight, getParameterArray, getResolution, getRootComponent, getSelectionModel, getStateModel, getToolBarMenuDockPlus, getTopContainer, invoke, isCurrentComponentMovableDown, isCurrentComponentMovableUp, isDrawLineMode, isReportBlockEditing, isRoot, isRootRelatedAction, isRootSelected, isSupportAuthority, isWidgetsIntersect, makeVisible, menus4Target, paintPara, paste, populateParameterPropertyPane, prepareForAdd, refreshDesignerUI, refreshParameter, removeParaComponent, removeSelection, renameCreator, resetEditorComponentBounds, selectComponents, setDrawLineMode, setElementCase, setElementCaseBackground, setElementCaseContainer, setPainter, setParaHeight, setParameterArray, setParent, setReportBlockEditing, setResolution, setToolbarButtons, setWidgetsIntersect, shortcut4TemplateMenu, shortCuts4Authority, showAuthorityEditPane, showMessageDialog, startDraggingBean, startDraggingComponent, stopAddingState, stopEditing, stopEditing, switchTab, toolbars4Target, updateDrawLineMode, updateUI, valueChanged
addTargetModifiedListener, createEditingState, fireTargetModified, getTarget, removeTargetModifiedListener, setTarget
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getAccessibleContext, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, paramString, 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, 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, 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
isSupportAuthority, removeSelection
public FormParaDesigner()
public FormParaDesigner(FormParameterUI ui)
protected FormDesignerModeForSpecial<?> createFormDesignerTargetMode()
public void initBeforeUpEdit()
initBeforeUpEdit
在接口中 ParameterDesignerProvider
public AuthorityEditPane createAuthorityEditPane()
createAuthorityEditPane
在类中 FormDesigner
public javax.swing.JPanel getEastUpPane()
getEastUpPane
在接口中 ParameterDesignerProvider
getEastUpPane
在类中 FormDesigner
public javax.swing.JPanel getEastDownPane()
getEastDownPane
在接口中 ParameterDesignerProvider
getEastDownPane
在类中 FormDesigner
public AuthorityEditPane getAuthorityEditPane()
getAuthorityEditPane
在接口中 ParameterDesignerProvider
public void addListener(ParaDefinitePane paraDefinitePane)
addListener
在接口中 ParameterDesignerProvider
paraDefinitePane
- 面板public java.awt.Component createWrapper()
createWrapper
在接口中 ParameterDesignerProvider
public void refreshAllNameWidgets()
public void refresh4TableData(java.lang.String oldName, java.lang.String newName)
refresh4TableData
在接口中 ParameterDesignerProvider
oldName
- 旧名称newName
- 新名称public void refreshParameter(ParaDefinitePane p)
refreshParameter
在接口中 ParameterDesignerProvider
p
- 参数面板public void refreshParameter(ParaDefinitePane p, JTemplate jt)
refreshParameter
在接口中 ParameterDesignerProvider
p
- 参数面板jt
- 当前模版public boolean isBlank()
isBlank
在接口中 ParameterDesignerProvider
protected void setToolbarButtons(boolean flag)
public boolean isWithoutParaXCreator(Parameter[] allParameters)
isWithoutParaXCreator
在接口中 ParameterDesignerProvider
allParameters
- 参数public java.util.List<java.lang.String> getAllXCreatorNameList()
getAllXCreatorNameList
在接口中 ParameterDesignerProvider
public boolean isWithQueryButton()
isWithQueryButton
在接口中 ParaDefinitePane
isWithQueryButton
在接口中 ParameterDesignerProvider
isWithQueryButton
在类中 FormDesigner
public UpdateAction[] getActions()
getActions
在类中 FormDesigner
public ParameterUI getParaTarget()
getParaTarget
在接口中 ParameterDesignerProvider
public void populateParameterPropertyPane(ParaDefinitePane p)
populateParameterPropertyPane
在接口中 ParameterDesignerProvider
p
- 面板public void initWidgetToolbarPane()
public void populate(ParameterUI ui)
populate
在接口中 ParameterDesignerProvider
ui
- public boolean hasWAbsoluteLayout()
hasWAbsoluteLayout
在类中 FormDesigner
public void refreshRoot()
refreshRoot
在类中 FormDesigner
public boolean isFormParaDesigner()
isFormParaDesigner
在类中 FormDesigner
public XLayoutContainer getParaComponent()
getParaComponent
在接口中 ParameterDesignerProvider
getParaComponent
在类中 FormDesigner
public java.awt.Dimension getPreferredSize()
getPreferredSize
在接口中 ParameterDesignerProvider
getPreferredSize
在类中 javax.swing.JComponent
public java.awt.Dimension getDesignSize()
getDesignSize
在接口中 ParameterDesignerProvider
public void setDesignHeight(int height)
setDesignHeight
在接口中 ParameterDesignerProvider
height
- public void paintContent(java.awt.Graphics clipg)
paintContent
在类中 FormDesigner
clipg
- protected void setRootComponent(XLayoutContainer component)
setRootComponent
在类中 FormDesigner
public void populateRootSize()
populateRootSize
在类中 FormDesigner
public void updateWidth(int width)
updateWidth
在类中 FormDesigner
width
- 指定的宽度public void updateHeight(int height)
height
- 指定的高度public boolean prepareForAdd(XCreator creator, int x, int y, XWAbsoluteLayout layout)
creator
- 组件 zx
- 长度y
- 长度 clayout
- 布局public boolean addingParameter2Editor(Parameter parameter, int currentIndex)
addingParameter2Editor
在接口中 ParameterDesignerProvider
parameter
- 参数 ccurrentIndex
- 位置 wpublic boolean addingParameter2EditorWithQueryButton(Parameter parameter, int currentIndex)
addingParameter2EditorWithQueryButton
在接口中 ParameterDesignerProvider
parameter
- 参数 ccurrentIndex
- 位置 wpublic void addingAllParameter2Editor(Parameter[] parameterArray, int currentIndex)
addingAllParameter2Editor
在接口中 ParameterDesignerProvider
parameterArray
- 参数 ccurrentIndex
- 位置 wpublic boolean autoAddComponent(XCreator xCreator, int x, int y)
autoAddComponent
在类中 FormDesigner
xCreator
- 组件 zx
- 位置 wy
- 位置public javax.swing.JPanel[] toolbarPanes4Form()
toolbarPanes4Form
在接口中 ParameterDesignerProvider
public javax.swing.JComponent[] toolBarButton4Form()
toolBarButton4Form
在接口中 ParameterDesignerProvider
toolBarButton4Form
在类中 FormDesigner