public class ProcessEditor extends JPanel implements org.jgraph.event.GraphModelListener, org.jgraph.event.GraphSelectionListener, Observer
JPanel.AccessibleJPanelJComponent.AccessibleJComponentContainer.AccessibleAWTContainer| 限定符和类型 | 字段和说明 |
|---|---|
protected XMLElementDialog |
elementEditingDialog
撤销、重复操作的实现 undo and redo action implementations
|
protected AbstractGraph |
graph |
protected JScrollPane |
graphScrollPane |
protected AbstractEditor |
parentEditor |
protected boolean |
processModified |
protected org.jgraph.graph.GraphUndoManager |
undo |
protected UndoHandler |
undoHandler |
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| 构造器和说明 |
|---|
ProcessEditor(WorkflowProcess wp,
AbstractEditor parentEditor)
Creates instance of ProcessEditor class.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
buttongroupToLoad() |
boolean |
closeProcess() |
protected AbstractGraph |
createGraph()
创建工作流图形界面 Create an graph to represent the given document.
|
XMLElementDialog |
getElementEditingDialog()
获得流程元素对话框
|
AbstractGraph |
getGraph()
获得工作流图形对象
|
AbstractEditor |
getParentEditor()
获得主界面的对象 Gets parentEditor.
|
String |
getProcessFlag()
获得流程属于本地还是远程的标识
|
boolean |
getProcessModified() |
String |
getProcessTitle()
Gets a title.
|
BPDStatusBar |
getStatusBar()
此方法获得主界面的状态栏 Get the statusBar
|
org.jgraph.graph.GraphUndoManager |
getUndoManager()
得到撤销对象
|
void |
graphChanged(org.jgraph.event.GraphModelEvent e) |
String |
menubarToLoad()
Returns string of menubar for load.
|
void |
refreshCollections(Set s1,
Set s2)
刷新集合
|
void |
refreshEditorConfiguration()
刷新界面
|
protected void |
registerListeners(org.jgraph.JGraph graph) |
void |
resetUndoManager()
重新设置撤销操作 Resets UndoManager.
|
protected void |
setALTCursorKeyboardShortcuts(JComponent jc) |
void |
setButtonsEnabled(boolean enable) |
void |
setLoginedUserForProcess()
登录后,指定流程的编辑用户
|
void |
setProcessFlag(String processFlag)
设置流程的标识
|
void |
setProcessModified(boolean processModified) |
void |
setScale(double scale)
Sets the value of scale for zooming.
|
String |
toolbarToLoad()
Returns string of toolbars for load.
|
protected void |
unregisterListeners(org.jgraph.JGraph graph) |
void |
update()
Invoked after the selection or the model has changed.
|
void |
update(Observable obs,
Object arg) |
void |
valueChanged(org.jgraph.event.GraphSelectionEvent e)
Enables and disables various actions depending of cell selection
|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, 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, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, 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, paint, 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, updateadd, 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, validateTreeaction, 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, transferFocusUpCycleprotected AbstractEditor parentEditor
protected org.jgraph.graph.GraphUndoManager undo
protected UndoHandler undoHandler
protected AbstractGraph graph
protected JScrollPane graphScrollPane
protected boolean processModified
protected XMLElementDialog elementEditingDialog
public ProcessEditor(WorkflowProcess wp, AbstractEditor parentEditor)
public XMLElementDialog getElementEditingDialog()
protected AbstractGraph createGraph()
public void valueChanged(org.jgraph.event.GraphSelectionEvent e)
valueChanged 在接口中 org.jgraph.event.GraphSelectionListenerpublic void setButtonsEnabled(boolean enable)
public String getProcessTitle()
public String toolbarToLoad()
public String buttongroupToLoad()
public String menubarToLoad()
public BPDStatusBar getStatusBar()
public AbstractEditor getParentEditor()
public void update()
public void refreshEditorConfiguration()
protected void registerListeners(org.jgraph.JGraph graph)
protected void unregisterListeners(org.jgraph.JGraph graph)
public void graphChanged(org.jgraph.event.GraphModelEvent e)
graphChanged 在接口中 org.jgraph.event.GraphModelListenere - public void update(Observable obs, Object arg)
protected void setALTCursorKeyboardShortcuts(JComponent jc)
public void setScale(double scale)
public AbstractGraph getGraph()
public boolean getProcessModified()
public void setProcessModified(boolean processModified)
public boolean closeProcess()
public String getProcessFlag()
public void setProcessFlag(String processFlag)
processFlag - public org.jgraph.graph.GraphUndoManager getUndoManager()
public void resetUndoManager()
public void setLoginedUserForProcess()
Copyright © 2023 onecode. All rights reserved.