Class Offset
java.lang.Object
|
+--Symbol
|
+--Sub
|
+--Box
|
+--Offset
- All Implemented Interfaces:
- java.awt.event.ActionListener, Aligner, AlignmentListener, DragableSymbol, Element, java.util.EventListener, java.io.Serializable
- public class Offset
- extends Box
- See Also:
- Serialized Form
| Fields inherited from class Box |
aspfield, bordercolor, bordercolorbox, bordersize, bordersizefield, borderstyle, borderstylefield, color, colorbox, fill, fillbutton, filllib, NOFILL |
| Fields inherited from class Sub |
anchorpoint, botf, box, brandnew, cornerdrag, corners, dragpos, editaspect, editmodef, editrotation, editscale, handlex, handley, heightf, leftf, located, MINR, origin, pos, relativepos, rightf, showcorners, size, sizefield, sizewidth, subaspect, topf, widthf |
|
Constructor Summary |
Offset(java.awt.geom.Point2D where,
View view,
java.lang.Object arg)
|
|
Method Summary |
void |
abandonPropertyEdit()
|
void |
acceptPropertyEdit()
|
void |
drag(int command,
java.awt.geom.Point2D where,
View view)
|
void |
endDrag(int command,
java.awt.geom.Point2D where,
View view)
|
int |
getLevel()
|
void |
getPropertyEdit(java.lang.Object[] edits,
int slot,
java.util.Set sub,
Symbol parent)
|
(package private) void |
init(java.awt.geom.Point2D where,
View view)
|
void |
paint(View view)
Paint the borderary of the box. |
boolean |
selectProbe(java.awt.geom.Point2D pos,
View view)
|
void |
showSelected(View view)
|
void |
startDrag(int command,
java.awt.geom.Point2D where,
View view)
|
| Methods inherited from class Sub |
alignmentChanged, checkSize, clear, copy, getAlignTransform, getBounds, getPolar, getScale, getShape, locate, reshape, showAlignee, showAligner |
| Methods inherited from class Symbol |
checkName, editProperties, getName, getNew, importSym, prepareForSurveyUpdate, recursiveDelete, setName, stripSurveys, toString, useSurveyUpdate, valid |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
viewport
public Box viewport
portselected
public boolean portselected
stack
public Stacking stack
usestack
public boolean usestack
usestackbox
transient javax.swing.JCheckBox usestackbox
Offset
public Offset(java.awt.geom.Point2D where,
View view,
java.lang.Object arg)
init
void init(java.awt.geom.Point2D where,
View view)
- Overrides:
init in class Sub
getLevel
public int getLevel()
- Overrides:
getLevel in class Box
getPropertyEdit
public void getPropertyEdit(java.lang.Object[] edits,
int slot,
java.util.Set sub,
Symbol parent)
- Overrides:
getPropertyEdit in class Box
acceptPropertyEdit
public void acceptPropertyEdit()
- Overrides:
acceptPropertyEdit in class Box
abandonPropertyEdit
public void abandonPropertyEdit()
- Overrides:
abandonPropertyEdit in class Box
selectProbe
public boolean selectProbe(java.awt.geom.Point2D pos,
View view)
- Overrides:
selectProbe in class Sub
startDrag
public void startDrag(int command,
java.awt.geom.Point2D where,
View view)
- Specified by:
startDrag in interface DragableSymbol- Overrides:
startDrag in class Sub
drag
public void drag(int command,
java.awt.geom.Point2D where,
View view)
- Specified by:
drag in interface DragableSymbol- Overrides:
drag in class Sub
endDrag
public void endDrag(int command,
java.awt.geom.Point2D where,
View view)
- Specified by:
endDrag in interface DragableSymbol- Overrides:
endDrag in class Sub
showSelected
public void showSelected(View view)
- Overrides:
showSelected in class Sub
paint
public void paint(View view)
- Description copied from class:
Box
- Paint the borderary of the box.
Unless overriden, that is all there is to see.
- Overrides:
paint in class Box