|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
de.uni_paderborn.fujaba.fsa.swing.JBend
A JBend can be the start- or endPoint of a JBendLine
0..1 N JBend ----------------------------- JBendLine startBend outgoingLines 0..1 N JBend ----------------------------- JBendLine endBend incomingLines
JBendLine
,
JLine
,
Serialized FormNested Class Summary |
Nested classes inherited from class javax.swing.JPanel |
javax.swing.JPanel.AccessibleJPanel |
Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary |
Fields inherited from class javax.swing.JComponent |
accessibleContext, 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 |
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 |
Constructor Summary | |
JBend()
Creates a JBend at position (0, 0) |
|
JBend(java.awt.Point pos)
Creates a JBend at the given position |
|
JBend(java.awt.Point pos,
JBendLine incoming,
JBendLine outgoing)
Create a Bend at position pos attached to incoming Line and outgoing Line |
Method Summary | |
boolean |
addToIncomingLines(JBendLine value)
Access method for an one to n association. |
boolean |
addToOutgoingLines(JBendLine value)
Access method for an one to n association. |
protected java.awt.Point |
calculatePoint()
Calculates the value of Point from the current Bounds Default is the center of the Bounds |
protected void |
firePropertyChange(java.lang.String name,
java.lang.Object oldValue,
java.lang.Object newValue)
No comment provided by developer, please add a comment to improve documentation. |
JBendLine |
getFirstFromLines()
Get the firstFromLines attribute of the JBend object |
java.awt.Dimension |
getMaximumSize()
Get the maximumSize attribute of the JBend object |
java.awt.Dimension |
getMinimumSize()
Get the minimumSize attribute of the JBend object |
java.awt.Point |
getPoint()
Get the value of point Same as getPoint(null) |
java.awt.Point |
getPoint(java.awt.Point p)
Store the value of point in p, or if p is null in a new Point |
java.awt.Dimension |
getPreferredSize()
Get the preferredSize attribute of the JBend object |
javax.swing.plaf.PanelUI |
getUI()
Get the uI attribute of the JBend object |
boolean |
hasInIncomingLines(JLine value)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
hasInLines(JLine value)
Access Method for lines Attribute |
boolean |
hasInOutgoingLines(JLine value)
No comment provided by developer, please add a comment to improve documentation. |
java.util.Iterator |
iteratorOfIncomingLines()
No comment provided by developer, please add a comment to improve documentation. |
java.util.Iterator |
iteratorOfLines()
Access Method for lines Attribute |
java.util.Iterator |
iteratorOfOutgoingLines()
No comment provided by developer, please add a comment to improve documentation. |
void |
removeAllFromIncomingLines()
No comment provided by developer, please add a comment to improve documentation. |
void |
removeAllFromLines()
Access Method for lines Attribute |
void |
removeAllFromOutgoingLines()
No comment provided by developer, please add a comment to improve documentation. |
boolean |
removeFromIncomingLines(JBendLine value)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
removeFromLines(JBendLine value)
Access Method for lines Attribute |
boolean |
removeFromOutgoingLines(JBendLine value)
No comment provided by developer, please add a comment to improve documentation. |
protected void |
resetPoint()
Calculates the value of Point from the current Bounds with a call to calculatePoint() If the new value differs from the current point, the current point is updated and a PropertyChangeEvent is fired with propertyName "point" |
void |
setBounds(int x,
int y,
int width,
int height)
Sets the Bounds and calls resetPoint to update the point accordingly |
void |
setPoint(int x,
int y)
Set the Point where the Line should end to p. |
void |
setPoint(java.awt.Point p)
Set the Point where the Line should end to p Fires a PropertyChangeEvent with name "point" if p does not equal the current point Computes the new Location of this JBend and calls setLocation |
void |
setUI(BendUI ui)
Sets the uI attribute of the JBend object |
int |
sizeOfIncomingLines()
No comment provided by developer, please add a comment to improve documentation. |
int |
sizeOfLines()
Access Method for lines Attribute |
int |
sizeOfOutgoingLines()
No comment provided by developer, please add a comment to improve documentation. |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getNextFocusableComponent, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, 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, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, 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, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, 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, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public JBend()
JBend(java.awt.Point)
public JBend(java.awt.Point pos)
pos
- position of jbendJBend()
public JBend(java.awt.Point pos, JBendLine incoming, JBendLine outgoing)
pos
- the position of the bendincoming
- the incoming line to attach tooutgoing
- the outgoing line to attach toMethod Detail |
public boolean addToOutgoingLines(JBendLine value)
value
- The object added.
public boolean hasInOutgoingLines(JLine value)
value
- No description provided
public java.util.Iterator iteratorOfOutgoingLines()
public int sizeOfOutgoingLines()
public boolean removeFromOutgoingLines(JBendLine value)
value
- No description provided
public void removeAllFromOutgoingLines()
public boolean addToIncomingLines(JBendLine value)
value
- The object added.
public boolean hasInIncomingLines(JLine value)
value
- No description provided
public java.util.Iterator iteratorOfIncomingLines()
public int sizeOfIncomingLines()
public boolean removeFromIncomingLines(JBendLine value)
value
- No description provided
public void removeAllFromIncomingLines()
public boolean hasInLines(JLine value)
value
- No description provided
hasInIncomingLines(de.uni_paderborn.fujaba.fsa.swing.JLine)
,
hasInOutgoingLines(de.uni_paderborn.fujaba.fsa.swing.JLine)
public JBendLine getFirstFromLines()
public java.util.Iterator iteratorOfLines()
iteratorOfIncomingLines()
,
iteratorOfOutgoingLines()
public int sizeOfLines()
sizeOfIncomingLines()
,
sizeOfOutgoingLines()
public boolean removeFromLines(JBendLine value)
value
- No description provided
removeFromIncomingLines(de.uni_paderborn.fujaba.fsa.swing.JBendLine)
,
removeFromOutgoingLines(de.uni_paderborn.fujaba.fsa.swing.JBendLine)
public void removeAllFromLines()
removeAllFromIncomingLines()
,
removeAllFromOutgoingLines()
public java.awt.Point getPoint(java.awt.Point p)
p
- No description provided
getPoint()
,
setPoint(java.awt.Point)
,
setPoint(int, int)
public final java.awt.Point getPoint()
getPoint(java.awt.Point)
,
setPoint(java.awt.Point)
,
setPoint(int, int)
public final void setPoint(java.awt.Point p)
Computes the new Location of this JBend and calls
setLocation
p
- The new point valuesetPoint(int, int)
,
getPoint()
,
getPoint(java.awt.Point)
public void setPoint(int x, int y)
Computes the new Location of this JBend and calls
setLocation
x
- The new point valuey
- The new point valuesetPoint(java.awt.Point)
,
getPoint()
,
getPoint(java.awt.Point)
public void setBounds(int x, int y, int width, int height)
x
- The new bounds valuey
- The new bounds valuewidth
- The new bounds valueheight
- The new bounds valuesetPoint(java.awt.Point)
,
setPoint(int, int)
,
resetPoint()
protected void resetPoint()
calculatePoint()
If the new value differs from the current point, the current point is updated and a PropertyChangeEvent is fired with propertyName "point"
calculatePoint()
,
setPoint(int, int)
,
setPoint(java.awt.Point)
,
(int, int, int, int)
,
PropertyChangeEvent
protected java.awt.Point calculatePoint()
resetPoint()
public void setUI(BendUI ui)
ui
- The new uI valuepublic javax.swing.plaf.PanelUI getUI()
public java.awt.Dimension getMaximumSize()
public java.awt.Dimension getMinimumSize()
public java.awt.Dimension getPreferredSize()
protected void firePropertyChange(java.lang.String name, java.lang.Object oldValue, java.lang.Object newValue)
name
- No description providedoldValue
- No description providednewValue
- No description provided
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |