Package org.compiere.apps.wf
Class WFPanel
- java.lang.Object
-
- java.awt.Component
-
- java.awt.Container
-
- javax.swing.JComponent
-
- javax.swing.JPanel
-
- org.compiere.swing.CPanel
-
- org.compiere.apps.wf.WFPanel
-
- All Implemented Interfaces:
ActionListener
,ImageObserver
,MenuContainer
,Serializable
,EventListener
,Accessible
,FormPanel
,org.netbeans.api.visual.model.ObjectSceneListener
public class WFPanel extends CPanel implements ActionListener, FormPanel, org.netbeans.api.visual.model.ObjectSceneListener
WorkFlow Panel- Version:
- $Id: WFPanel.java,v 1.2 2006/07/30 00:51:28 jjanke Exp $
- Author:
- Jorg Janke, Teo Sarca, www.arhipac.ro
- FR [ 2048081 ] Mf. Workflow editor should display only mf. workflows
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
-
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
-
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
-
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
-
-
Field Summary
-
Fields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
-
Fields inherited from class java.awt.Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
-
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent e)
Action Listenervoid
dispose()
Disposevoid
focusChanged(org.netbeans.api.visual.model.ObjectSceneEvent arg0, Object arg1, Object arg2)
void
highlightingChanged(org.netbeans.api.visual.model.ObjectSceneEvent arg0, Set<Object> arg1, Set<Object> arg2)
void
hoverChanged(org.netbeans.api.visual.model.ObjectSceneEvent arg0, Object arg1, Object arg2)
void
init(int WindowNo, FormFrame frame)
Initialize Panel for FormPanelvoid
load(int AD_Workflow_ID, boolean readWrite)
Load Workflow & Nodesstatic void
main(String[] args)
Testvoid
objectAdded(org.netbeans.api.visual.model.ObjectSceneEvent arg0, Object arg1)
void
objectRemoved(org.netbeans.api.visual.model.ObjectSceneEvent arg0, Object arg1)
void
objectStateChanged(org.netbeans.api.visual.model.ObjectSceneEvent event, Object changedObject, org.netbeans.api.visual.model.ObjectState previousState, org.netbeans.api.visual.model.ObjectState newState)
void
resetLayout()
Reset Layoutvoid
selectionChanged(org.netbeans.api.visual.model.ObjectSceneEvent event, Set<Object> prevSelection, Set<Object> selection)
void
start(int AD_WF_Node_ID)
Start Nodevoid
start(MWFNode node)
Start NodeString
toString()
String Representation-
Methods inherited from class org.compiere.swing.CPanel
getBackgroundColor, getTabLevel, setBackground, setBackgroundColor, setTabLevel
-
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
-
Methods inherited from class javax.swing.JComponent
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, 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, 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
-
Methods inherited from class java.awt.Container
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
-
Methods inherited from class java.awt.Component
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, 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, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, transferFocus, transferFocusBackward, transferFocusUpCycle
-
-
-
-
Method Detail
-
init
public void init(int WindowNo, FormFrame frame)
Initialize Panel for FormPanel- Specified by:
init
in interfaceFormPanel
- Parameters:
WindowNo
- windowframe
- frame- See Also:
FormPanel.init(int, FormFrame)
-
dispose
public void dispose()
Dispose- Specified by:
dispose
in interfaceFormPanel
- See Also:
FormPanel.dispose()
-
load
public void load(int AD_Workflow_ID, boolean readWrite)
Load Workflow & Nodes- Parameters:
AD_Workflow_ID
- IDreadWrite
- if true nodes can be moved
-
actionPerformed
public void actionPerformed(ActionEvent e)
Action Listener- Specified by:
actionPerformed
in interfaceActionListener
- Parameters:
e
- event- See Also:
ActionListener.actionPerformed(ActionEvent)
-
start
public void start(MWFNode node)
Start Node- Parameters:
node
- node
-
start
public void start(int AD_WF_Node_ID)
Start Node- Parameters:
AD_WF_Node_ID
- node id
-
resetLayout
public void resetLayout()
Reset Layout
-
toString
public String toString()
String Representation
-
main
public static void main(String[] args)
Test- Parameters:
args
- ignored
-
focusChanged
public void focusChanged(org.netbeans.api.visual.model.ObjectSceneEvent arg0, Object arg1, Object arg2)
- Specified by:
focusChanged
in interfaceorg.netbeans.api.visual.model.ObjectSceneListener
-
highlightingChanged
public void highlightingChanged(org.netbeans.api.visual.model.ObjectSceneEvent arg0, Set<Object> arg1, Set<Object> arg2)
- Specified by:
highlightingChanged
in interfaceorg.netbeans.api.visual.model.ObjectSceneListener
-
hoverChanged
public void hoverChanged(org.netbeans.api.visual.model.ObjectSceneEvent arg0, Object arg1, Object arg2)
- Specified by:
hoverChanged
in interfaceorg.netbeans.api.visual.model.ObjectSceneListener
-
objectAdded
public void objectAdded(org.netbeans.api.visual.model.ObjectSceneEvent arg0, Object arg1)
- Specified by:
objectAdded
in interfaceorg.netbeans.api.visual.model.ObjectSceneListener
-
objectRemoved
public void objectRemoved(org.netbeans.api.visual.model.ObjectSceneEvent arg0, Object arg1)
- Specified by:
objectRemoved
in interfaceorg.netbeans.api.visual.model.ObjectSceneListener
-
objectStateChanged
public void objectStateChanged(org.netbeans.api.visual.model.ObjectSceneEvent event, Object changedObject, org.netbeans.api.visual.model.ObjectState previousState, org.netbeans.api.visual.model.ObjectState newState)
- Specified by:
objectStateChanged
in interfaceorg.netbeans.api.visual.model.ObjectSceneListener
-
-