|
|||||||||||
| 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
de.uni_paderborn.fujaba.fsa.swing.JLine
de.uni_paderborn.fujaba.fsa.swing.JBendLine
de.uni_paderborn.fujaba.fsa.swing.JPolyLine
Polyline consisting of several small lines
Work in progress. Bugs guaranteed!
| Nested Class Summary | |
static class |
JPolyLine.LineSegment
No comment provided by developer, please add a comment to improve documentation. |
| 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 | |
JPolyLine(JBend start,
JBend end)
Constructor for class JPolyLine |
|
| Method Summary | |
boolean |
adjustBounds()
No comment provided by developer, please add a comment to improve documentation. |
boolean |
contains(int x,
int y)
No comment provided by developer, please add a comment to improve documentation. |
protected void |
endPointChanged()
No comment provided by developer, please add a comment to improve documentation. |
double |
getAngle(double d)
Get the angle attribute of the JPolyLine object |
JPolyLine.LineSegment |
getClosestLine(int x,
int y)
Get the closestLine attribute of the JPolyLine object |
JPolyLine.LineSegment |
getClosestLine(java.awt.Point p)
Get the closestLine attribute of the JPolyLine object |
java.awt.geom.Point2D |
getDirection(double d,
java.awt.geom.Point2D p)
Get the direction attribute of the JPolyLine object |
double |
getDistance(int x,
int y)
Get the distance attribute of the JPolyLine object |
JBend |
getFromBends(int index)
Get the fromBends attribute of the JPolyLine object |
JPolyLine.LineSegment |
getFromLines(int pos)
please do not change lines directly. |
java.awt.Point |
getFromPoints(int index)
Get the fromPoints attribute of the JPolyLine object |
int |
getIndexFromBends(JBend bend)
|
int |
getIndexFromLines(JPolyLine.LineSegment line)
please do not change lines directly. |
double |
getLength()
Get the length attribute of the JPolyLine object |
JPolyLine.LineSegment |
getLineAt(double d)
|
java.awt.geom.Point2D |
getNormal(double d,
java.awt.geom.Point2D p)
Get the normal attribute of the JPolyLine object |
java.awt.geom.Point2D |
getPointAt(double d)
Get the pointAt attribute of the JLine object |
double |
getPosition(int x,
int y)
Get the position attribute of the JLine object |
java.awt.Rectangle |
getPreferredBounds()
Get the preferredBounds attribute of the JPolyLine object |
boolean |
hasInBends(JBend bend)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
hasInLines(JPolyLine.LineSegment value)
please do not change lines directly. |
boolean |
insertInBends(int index,
JBend bend)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
insertInBends(JBend bend)
insert the bend between the 2 closest bends |
boolean |
isAdjustingBounds()
Get the adjustingBounds attribute of the JPolyLine object |
java.util.ListIterator |
iteratorOfBends(int start)
No comment provided by developer, please add a comment to improve documentation. |
java.util.ListIterator |
iteratorOfLines()
please do not change lines directly. |
java.util.ListIterator |
iteratorOfLines(int start)
No comment provided by developer, please add a comment to improve documentation. |
java.util.ListIterator |
iteratorOfLines(JPolyLine.LineSegment line)
No comment provided by developer, please add a comment to improve documentation. |
java.util.ListIterator |
iteratorOfPoints(int start)
No comment provided by developer, please add a comment to improve documentation. |
void |
paintComponent(java.awt.Graphics g)
No comment provided by developer, please add a comment to improve documentation. |
void |
removeAllFromBends()
No comment provided by developer, please add a comment to improve documentation. |
boolean |
removeFromBends(int index)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
removeFromBends(JBend bend)
No comment provided by developer, please add a comment to improve documentation. |
void |
removeYou()
No comment provided by developer, please add a comment to improve documentation. |
void |
revalidate()
No comment provided by developer, please add a comment to improve documentation. |
boolean |
setBendAt(int index,
JBend b)
Sets the bendAt attribute of the JPolyLine object |
boolean |
setEndBend(JBend value)
Sets the endBend attribute of the JPolyLine object |
void |
setForeground(java.awt.Color c)
Sets the foreground attribute of the JPolyLine object |
boolean |
setPointAt(int index,
int x,
int y)
Sets the pointAt attribute of the JPolyLine object |
boolean |
setStartBend(JBend value)
Sets the startBend attribute of the JPolyLine object |
void |
setUI(javax.swing.plaf.ComponentUI ui)
Sets the UI of the object. |
int |
sizeOfBends()
No comment provided by developer, please add a comment to improve documentation. |
int |
sizeOfLines()
please do not change lines directly. |
int |
sizeOfPoints()
No comment provided by developer, please add a comment to improve documentation. |
protected void |
startPointChanged()
No comment provided by developer, please add a comment to improve documentation. |
| Methods inherited from class de.uni_paderborn.fujaba.fsa.swing.JBendLine |
getAncestorListener, getClosestCommonAncestor, getEndBend, getEndPoint, getEndTransform, getNextFromBends, getOtherBend, getPrevFromBends, getStartBend, getStartPoint, getStartTransform, invalidateEndTransform, invalidateStartTransform, iteratorOfBends, iteratorOfBends, propertyChange, registerEndBend, registerStartBend, setEndPoint, setStartPoint, unregisterEndBend, unregisterStartBend |
| Methods inherited from class de.uni_paderborn.fujaba.fsa.swing.JLine |
contains, doLayout, getAngle, getCx, getCy, getDelta, getDirection, getDirection, getDirection, getDistance, getEndPoint, getIndexFromPoints, getIndexFromPoints, getNextFromPoints, getNextFromPoints, getNormal, getNormal, getNormal, getPosition, getPreferredSize, getPrevFromPoints, getPrevFromPoints, getStartPoint, getStartToEndDistance, getStroke, getThickness, getUI, hasInPoints, hasInPoints, isLineDashed, isOptimizedDrawingEnabled, iteratorOfPoints, iteratorOfPoints, setBounds, setDelta, setEndPoint, setLineDashed, setPointAt, setStartPoint, setStroke, setThickness, toString |
| Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getAccessibleContext, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, paramString, 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, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, 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, 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, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public JPolyLine(JBend start,
JBend end)
start - No description providedend - No description provided| Method Detail |
protected void startPointChanged()
startPointChanged in class JBendLineprotected void endPointChanged()
endPointChanged in class JBendLinepublic JPolyLine.LineSegment getFromLines(int pos)
pos - No description provided
public int getIndexFromLines(JPolyLine.LineSegment line)
line - No description provided
public boolean hasInLines(JPolyLine.LineSegment value)
value - No description provided
public final java.util.ListIterator iteratorOfLines()
public final java.util.ListIterator iteratorOfLines(JPolyLine.LineSegment line)
line - No description provided
public java.util.ListIterator iteratorOfLines(int start)
start - No description provided
public int sizeOfLines()
public JPolyLine.LineSegment getLineAt(double d)
d - No description provided
public java.awt.geom.Point2D getPointAt(double d)
JLine
getPointAt in class JLined - No description provided
public JPolyLine.LineSegment getClosestLine(java.awt.Point p)
p - No description provided
public JPolyLine.LineSegment getClosestLine(int x,
int y)
x - No description providedy - No description provided
public boolean contains(int x,
int y)
contains in class JBendLinex - No description providedy - No description provided
public double getDistance(int x,
int y)
getDistance in class JLinex - No description providedy - No description provided
JLine.contains(java.awt.Point),
JLine.contains(int, int),
JLine.getDistance(int, int)
public double getPosition(int x,
int y)
JLine
getPosition in class JLinex - No description providedy - No description provided
public java.awt.geom.Point2D getDirection(double d,
java.awt.geom.Point2D p)
getDirection in class JLined - No description providedp - No description provided
public java.awt.geom.Point2D getNormal(double d,
java.awt.geom.Point2D p)
getNormal in class JLined - No description providedp - No description provided
public double getAngle(double d)
getAngle in class JLined - No description provided
public double getLength()
getLength in class JLine
public boolean setPointAt(int index,
int x,
int y)
setPointAt in class JLineindex - The new pointAt valuex - The new pointAt valuey - The new pointAt value
public java.awt.Point getFromPoints(int index)
getFromPoints in class JLineindex - No description provided
public java.util.ListIterator iteratorOfPoints(int start)
iteratorOfPoints in class JLinestart - No description provided
public int sizeOfPoints()
sizeOfPoints in class JLinepublic boolean setStartBend(JBend value)
setStartBend in class JBendLinevalue - The new startBend value
JBendLine.getStartBend(),
JBendLine.setEndBend(de.uni_paderborn.fujaba.fsa.swing.JBend),
JBendLine.setStartPoint(int, int)public boolean setEndBend(JBend value)
setEndBend in class JBendLinevalue - The new endBend value
JBendLine.getEndBend(),
JBendLine.setStartBend(de.uni_paderborn.fujaba.fsa.swing.JBend),
JBendLine.setEndPoint(int, int)public boolean hasInBends(JBend bend)
hasInBends in class JBendLinebend - No description provided
public boolean setBendAt(int index,
JBend b)
setBendAt in class JBendLineindex - The new bendAt valueb - The new bendAt value
public JBend getFromBends(int index)
getFromBends in class JBendLineindex - No description provided
public int sizeOfBends()
sizeOfBends in class JBendLinepublic java.util.ListIterator iteratorOfBends(int start)
iteratorOfBends in class JBendLinestart - No description provided
public boolean insertInBends(JBend bend)
bend - No description provided
public boolean insertInBends(int index,
JBend bend)
index - No description providedbend - No description provided
public int getIndexFromBends(JBend bend)
getIndexFromBends in class JBendLinebend - No description provided
public boolean removeFromBends(JBend bend)
bend - No description provided
public boolean removeFromBends(int index)
index - No description provided
public void removeAllFromBends()
public void removeYou()
removeYou in class JBendLinepublic void setForeground(java.awt.Color c)
c - The new foreground valuepublic void revalidate()
public void paintComponent(java.awt.Graphics g)
g - No description providedpublic void setUI(javax.swing.plaf.ComponentUI ui)
setUI in class JLineui - The UI to use. Must be a subclass of LineUI.public java.awt.Rectangle getPreferredBounds()
getPreferredBounds in class JLineJLine.getDelta(),
JLine.getStartPoint(),
JLine.getEndPoint(),
#adjustBoundspublic boolean adjustBounds()
JLine.getPreferredBounds(),
JLine.setBounds(int, int, int, int)public boolean isAdjustingBounds()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||