|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--Symbol
|
+--Sub
|
+--Box
A box is a rectangle. They can be used for borders etc.
| Field Summary | |
(package private) javax.swing.JTextField |
aspfield
|
(package private) java.awt.Color |
bordercolor
The Color to draw the border. |
(package private) ColorBox |
bordercolorbox
|
(package private) Size |
bordersize
The thickness to draw the border. |
(package private) javax.swing.JComboBox |
bordersizefield
|
(package private) LineType |
borderstyle
The Style to draw the border. |
(package private) javax.swing.JComboBox |
borderstylefield
|
(package private) java.awt.Color |
color
The color to paint the interior. |
(package private) ColorBox |
colorbox
|
(package private) Fill |
fill
The Fill to paint the interior. |
(package private) javax.swing.JButton |
fillbutton
|
(package private) Library |
filllib
|
static java.lang.String |
NOFILL
|
private static long |
serialVersionUID
|
| 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 |
| Fields inherited from class Symbol |
makenames, name, namefield |
| Fields inherited from interface Aligner |
absolute, datum, floating |
| Constructor Summary | |
Box()
This constructer may not be used. |
|
Box(java.awt.geom.Point2D where,
View view,
java.lang.Object arg)
Create a new box at a given position. |
|
| Method Summary | |
void |
abandonPropertyEdit()
|
void |
acceptPropertyEdit()
|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
protected java.util.Vector |
getEditModes()
Get the edit modes that are supported. |
java.awt.geom.Area |
getIn(View view)
|
int |
getLevel()
|
void |
getPropertyEdit(java.lang.Object[] edits,
int slot,
java.util.Set sub,
Symbol parent)
|
void |
paint(View view)
Paint the borderary of the box. |
void |
paintContents(View view)
Paint the contents of the box. |
| Methods inherited from class Sub |
alignmentChanged, checkSize, clear, copy, drag, endDrag, getAlignTransform, getBounds, getPolar, getScale, getShape, init, locate, reshape, selectProbe, showAlignee, showAligner, showSelected, startDrag |
| 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 |
| Field Detail |
private static final long serialVersionUID
Size bordersize
LineType borderstyle
java.awt.Color bordercolor
Fill fill
java.awt.Color color
transient javax.swing.JTextField aspfield
transient javax.swing.JComboBox bordersizefield
transient javax.swing.JComboBox borderstylefield
transient ColorBox bordercolorbox
transient javax.swing.JButton fillbutton
transient ColorBox colorbox
transient Library filllib
public static java.lang.String NOFILL
| Constructor Detail |
public Box()
public Box(java.awt.geom.Point2D where,
View view,
java.lang.Object arg)
| Method Detail |
public int getLevel()
getLevel in class Sub
public void getPropertyEdit(java.lang.Object[] edits,
int slot,
java.util.Set sub,
Symbol parent)
getPropertyEdit in class Subpublic void acceptPropertyEdit()
acceptPropertyEdit in class Subpublic void abandonPropertyEdit()
abandonPropertyEdit in class Subpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerprotected java.util.Vector getEditModes()
getEditModes in class Subpublic java.awt.geom.Area getIn(View view)
public void paint(View view)
paint in class Subpublic void paintContents(View view)
paintContents in class Sub
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||