|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.gui.formatitems.MarkerItem
FormatItem for a MarkerFormat.
| Constructor Summary | |
MarkerItem(int type,
int size,
PaintFormat pf,
StrokeFormat sf)
Constructor which requires a PaintFormat and a StrokeFormat instance |
|
MarkerItem(int type,
int size,
PaintItem pi,
StrokeItem si)
Constructor which requires a PaintItem and a StrokeItem instance |
|
MarkerItem(MarkerFormat mf)
Constructor which requires an initial MarkerFormat |
|
| Method Summary | |
java.lang.String |
getDescription()
Returns the canonical description used to create a format. |
Format |
getFormat()
Returns a new format. |
java.lang.Object[] |
getFormatData()
Returns all format parameters |
PaintItem |
getPaintItem()
Returns used paint item |
int |
getSize()
Returns marker size |
StrokeItem |
getStrokeItem()
Returns used stroke item |
int |
getType()
Returns marker type |
boolean |
isVisible()
Returns a boolean that indicates whether the corresponding
MarkerFormat is visible or not. |
void |
setSize(int size)
Sets marker size |
void |
setType(int type)
Sets marker type |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MarkerItem(MarkerFormat mf)
mf - initial MarkerFormat
public MarkerItem(int type,
int size,
PaintFormat pf,
StrokeFormat sf)
type - initial MarkerFormat typesize - initial MarkerFormat sizepf - initial PaintFormatsf - initial StrokeFormat
public MarkerItem(int type,
int size,
PaintItem pi,
StrokeItem si)
type - initial MarkerFormat typesize - initial MarkerFormat sizepi - initial PaintItemsi - initial StrokeItem| Method Detail |
public final int getSize()
public final void setSize(int size)
size - marker sizepublic final int getType()
public final void setType(int type)
type - marker typepublic boolean isVisible()
boolean that indicates whether the corresponding
MarkerFormat is visible or not.
MarkerFormat is visible,
false otherwisepublic final PaintItem getPaintItem()
public final StrokeItem getStrokeItem()
public final java.lang.String getDescription()
FormatItem
getDescription in interface FormatItem
public final Format getFormat()
throws MarkerFormatParseException
FormatItem
getFormat in interface FormatItemMarkerFormatParseExceptionpublic final java.lang.Object[] getFormatData()
FormatItem
getFormatData in interface FormatItem
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||