|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JaxoArrow
An arrow for a JaxoObject.
| Nested Class Summary | |
|---|---|
static class |
JaxoArrow.Coordinates
The coordinates of an arrow. |
| Field Summary | |
|---|---|
static DecimalFormat |
D_FORMAT
The decimal format used for numbers in LaTeX output. |
| Method Summary | |
|---|---|
JaxoArrow |
copy()
Returns an exact copy (clone) of the given JaxoArrow. |
Rectangle |
getBounds(JaxoArrow.Coordinates coords)
Returns a bounding rectangle for this arrow at the given coordinates. |
JaxoEditPanel |
getEditPanel()
Return a panel that allows to edit the parameters of the arrow. |
boolean |
isCopy(JaxoArrow testArrow)
Checks if this Arrow is a copy of the given test Arrow. |
String |
latexCommand(float arPos,
float scale)
Returns the arrow part of the latex command for axodraw4j. |
void |
paint(Graphics2D g2,
JaxoArrow.Coordinates coords)
Paints the arrow to the given graphics context. |
| Methods inherited from interface java.beans.PropertyChangeListener |
|---|
propertyChange |
| Field Detail |
|---|
static final DecimalFormat D_FORMAT
| Method Detail |
|---|
void paint(Graphics2D g2,
JaxoArrow.Coordinates coords)
g2 - The graphics context to paint to.coords - The coordinates of the arrow to paint.JaxoArrow copy()
boolean isCopy(JaxoArrow testArrow)
testArrow - the Arrow to test against.
Rectangle getBounds(JaxoArrow.Coordinates coords)
coords - The coordinates of the arrow.
JaxoEditPanel getEditPanel()
String latexCommand(float arPos,
float scale)
arPos - the arrow position.scale - the current scale.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||