|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.cockpit.modeler.figures.tag.AbstractTagFigure.TagContent
public class AbstractTagFigure.TagContent
Simple class that combines a figure object with additional information, i\.e\. about the type of the figure. Used to integrate a figure into a tag.
| Field Summary | |
|---|---|
protected CH.ifa.draw.framework.Figure |
figure
Content figure |
protected int |
type
Type of the content |
| Constructor Summary | |
|---|---|
AbstractTagFigure.TagContent(CH.ifa.draw.framework.Figure figure,
int type)
Constructor. |
|
| Method Summary | |
|---|---|
int |
getContentType()
Gets the type of the content. |
CH.ifa.draw.framework.Figure |
getFigure()
Gets the content figure. |
void |
setContentType(int type)
Sets the type of the content. |
void |
setFigure(CH.ifa.draw.framework.Figure figure)
Sets the content figure. |
java.lang.String |
toString()
Returns a string representation of this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected CH.ifa.draw.framework.Figure figure
protected int type
| Constructor Detail |
|---|
public AbstractTagFigure.TagContent(CH.ifa.draw.framework.Figure figure,
int type)
figure - Content figuretype - One of the CONTENT_* constants of this class| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic CH.ifa.draw.framework.Figure getFigure()
public void setFigure(CH.ifa.draw.framework.Figure figure)
public int getContentType()
public void setContentType(int type)
type - One of the CONTENT_* constants of this class
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||