|
JGraph X 1.4.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mxgraph.io.vdx.mxGeneralShape
com.mxgraph.io.vdx.mxDelegateShape
public class mxDelegateShape
This class is a wrapper for a shape element.
Contains references to the stylesheets indicated in the shape.
If a property is not found in the shape Element but it may be found in a stylesheet,
the property is searched in such stylesheet.
| Field Summary | |
|---|---|
protected mxStyleSheet |
fillStyle
|
protected mxStyleSheet |
lineStyle
|
protected mxStyleSheet |
textStyle
|
| Fields inherited from class com.mxgraph.io.vdx.mxGeneralShape |
|---|
shape |
| Constructor Summary | |
|---|---|
mxDelegateShape(Element s)
|
|
| Method Summary | |
|---|---|
String |
getBeginArrow()
Returns the line begin arrow of the shape |
String |
getBeginArrowSize()
Returns the line begin arrow size of the shape |
String |
getEndArrow()
Returns the line end arrow of the shape |
String |
getEndArrowSize()
Returns the line end arrow size of the shape |
String |
getFillColor()
Returns the background color. |
String |
getFillForeColor()
Returns the foreground color. |
String |
getFillPattern()
Returns the pattern. |
String |
getFlags(String paraIX)
Returns the flags of one paragraph. |
int |
getHorizontalAlign(String paraIX)
Returns the horizontal align property of text |
String |
getIndentFirst(String paraIX)
Returns the first indent of one paragraph in pixels. |
String |
getIndentLeft(String paraIX)
Returns the indent to left of one paragraph |
String |
getIndentRight(String paraIX)
Returns the indent to right of one paragraph |
String |
getLetterSpace(String paraIX)
Returns the space between characters in one text fragment. |
String |
getLineColor()
Returns the line color. |
String |
getLinePattern()
Returns the line pattern of the shape |
double |
getLineWeight()
Returns the line weight of the shape in pixels |
double |
getRounding()
Returns the rounding factor. |
String |
getRTLText(String paraIX)
Returns the direction of one text fragment. |
String |
getShdwPattern()
Returns the shadow pattern. |
String |
getSpAfter(String paraIX)
Returns the space after one paragraph |
String |
getSpBefore(String paraIX)
Returns the space before one paragraph. |
double |
getSpLine(String paraIX)
Returns the space between lines in one paragraph. |
String |
getTextBkgndColor()
Returns the background color of text. |
double |
getTextBottomMargin()
Returns the bottom margin of text in pixels. |
String |
getTextColor(String charIX)
Returns the color of one text fragment |
String |
getTextFont(String charIX)
Returns the font of one text fragment |
double |
getTextLeftMargin()
Returns the left margin of text in pixels. |
int |
getTextPos(String charIX)
Returns the position of one text fragment |
double |
getTextRightMargin()
Returns the right margin of text in pixels. |
String |
getTextSize(String charIX)
Returns the size of one text fragment in pixels. |
boolean |
getTextStrike(String charIX)
Checks if one text fragment is Strikethru |
String |
getTextStyle(String charIX)
Returns the style of one text fragment. |
double |
getTextTopMargin()
Returns the top margin of text in pixels. |
double |
getTransparence()
Returns the level of transparence of the Shape. |
int |
getVerticalAlign()
Returns the vertical align property of text. |
boolean |
hasBeginArrow()
Checks if begin arrow of the line is defined. |
boolean |
hasBeginArrowSize()
Checks if begin arrow size of the line is defined. |
boolean |
hasEndArrow()
Checks if end arrow of the line is defined. |
boolean |
hasEndArrowSize()
Checks if end arrow size of the line is defined. |
boolean |
hasFillColor()
Checks if back ground color of the Shape is defined. |
boolean |
hasFillForeColor()
Checks if foreground color of the Shape is defined. |
boolean |
hasFillPattern()
Checks if pattern of the Shape is defined. |
boolean |
hasFlags(String paraIX)
Checks if the flags of one paragraph is defined. |
boolean |
hasHorizontalAlign(String paraIX)
Checks if the horizontal align of text is defined |
boolean |
hasIndentFirst(String paraIX)
Checks if the first indent of one paragraph is defined |
boolean |
hasIndentLeft(String paraIX)
Checks if the indent to left of one paragraph is defined |
boolean |
hasIndentRight(String paraIX)
Checks if the indent to right of one paragraph is defined |
boolean |
hasLetterSpace(String paraIX)
Checks if the space between characters in one text fragment is defined. |
boolean |
hasLineColor()
Checks if line color of the Shape is defined. |
boolean |
hasLinePattern()
Checks if pattern of the line is defined. |
boolean |
hasLineWeight()
Checks if the line weight is defined. |
boolean |
hasRounding()
Checks if the rounding factor of the Shape is defined. |
boolean |
hasRTLText(String paraIX)
Checks if the direction of one text fragment is defined |
boolean |
hasShdwPattern()
Checks if shadow pattern of the Shape is defined. |
boolean |
hasSpAfter(String paraIX)
Checks if the space after one paragraph is defined |
boolean |
hasSpBefore(String paraIX)
Checks if the space before one paragraph is defined |
boolean |
hasSpLine(String paraIX)
Checks if the space between lines in one paragraph is defined |
boolean |
hasTextBkgndColor()
Checks if the background color of text is defined |
boolean |
hasTextBottomMargin()
Checks if the bottom margin of text is defined |
boolean |
hasTextColor(String charIX)
Checks if the color of one text fragment is defined |
boolean |
hasTextFont(String charIX)
Checks if the font of one text fragment is defined |
boolean |
hasTextLeftMargin()
Checks if the left margin of text is defined. |
boolean |
hasTextPos(String charIX)
Checks if the position of one text fragment is defined |
boolean |
hasTextRightMargin()
Checks if the right margin of text is defined. |
boolean |
hasTextSize(String charIX)
Checks if the size of one text fragment is defined. |
boolean |
hasTextStrike(String charIX)
Checks if the strikethru of one text fragment is defined |
boolean |
hasTextStyle(String charIX)
Checks if the style of one text fragment is defined. |
boolean |
hasTextTopMargin()
Checks if the top margin of text is defined |
boolean |
hasTransparence()
Checks if transparence of the Shape is defined. |
boolean |
hasVerticalAlign()
Checks if the vertical align of text is defined. |
| Methods inherited from class com.mxgraph.io.vdx.mxGeneralShape |
|---|
getAmountArcTo, getAmountConnection, getAmountEllipticalArcTo, getAmountLineTo, getAngle, getBeginXY, getBullet, getEndXY, getFillStyleId, getHeight, getId, getLineStyleId, getLineToXY, getLocPinX, getLocPinY, getNameU, getNumericalValueOfSecundaryTag, getPinX, getPinY, getPrimaryTag, getPrimaryTagIndexed, getRoutingPoints, getShape, getText, getTextCase, getTextChildrens, getTextStyleId, getTxtAngle, getValueOfSecundaryTag, getWidth, hasAngle, hasBullet, hasEllipse, hasHeight, hasLocPinX, hasLocPinY, hasPinX, hasPinY, hasPrimaryTag, hasSecundaryTag, hasText, hasTextCase, hasTxtAngle, hasWidth, hasXForm1D, setShape |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected mxStyleSheet fillStyle
protected mxStyleSheet lineStyle
protected mxStyleSheet textStyle
| Constructor Detail |
|---|
public mxDelegateShape(Element s)
| Method Detail |
|---|
public String getFillColor()
mxGeneralShape
getFillColor in class mxGeneralShapepublic String getFillForeColor()
mxGeneralShape
getFillForeColor in class mxGeneralShapepublic String getFillPattern()
mxGeneralShape
getFillPattern in class mxGeneralShapepublic boolean hasFillColor()
mxGeneralShape
hasFillColor in class mxGeneralShapetrue if back ground color of the Shape is defined.public boolean hasFillForeColor()
mxGeneralShape
hasFillForeColor in class mxGeneralShapetrue if foreground color of the Shape is defined.public boolean hasFillPattern()
mxGeneralShape
hasFillPattern in class mxGeneralShapetrue if pattern of the Shape is defined.public double getTransparence()
mxGeneralShape
getTransparence in class mxGeneralShapepublic boolean hasTransparence()
mxGeneralShape
hasTransparence in class mxGeneralShapetrue if transparence of the Shape is defined.public String getLinePattern()
mxGeneralShape
getLinePattern in class mxGeneralShapepublic boolean hasLinePattern()
mxGeneralShape
hasLinePattern in class mxGeneralShapetrue if pattern of the line is defined.public String getBeginArrow()
mxGeneralShape
getBeginArrow in class mxGeneralShapepublic String getEndArrow()
mxGeneralShape
getEndArrow in class mxGeneralShapepublic boolean hasBeginArrow()
mxGeneralShape
hasBeginArrow in class mxGeneralShapetrue if begin arrow of the line is defined.public boolean hasEndArrow()
mxGeneralShape
hasEndArrow in class mxGeneralShapetrue if end arrow of the line is defined.public boolean hasLineColor()
mxGeneralShape
hasLineColor in class mxGeneralShapetrue if line color of the Shape is defined.public String getLineColor()
mxGeneralShape
getLineColor in class mxGeneralShapepublic String getBeginArrowSize()
mxGeneralShape
getBeginArrowSize in class mxGeneralShapepublic String getEndArrowSize()
mxGeneralShape
getEndArrowSize in class mxGeneralShapepublic boolean hasBeginArrowSize()
mxGeneralShape
hasBeginArrowSize in class mxGeneralShapetrue if begin arrow size of the line is defined.public boolean hasEndArrowSize()
mxGeneralShape
hasEndArrowSize in class mxGeneralShapetrue if end arrow size of the line is defined.public double getLineWeight()
mxGeneralShape
getLineWeight in class mxGeneralShapepublic boolean hasLineWeight()
mxGeneralShape
hasLineWeight in class mxGeneralShapetrue if the line weight is defined.public double getRounding()
mxGeneralShape
getRounding in class mxGeneralShapepublic String getShdwPattern()
mxGeneralShape
getShdwPattern in class mxGeneralShapepublic boolean hasRounding()
mxGeneralShape
hasRounding in class mxGeneralShapetrue if line color of the Shape is defined.public boolean hasShdwPattern()
mxGeneralShape
hasShdwPattern in class mxGeneralShapetrue if shadow pattern of the Shape is defined.public String getTextColor(String charIX)
mxGeneralShape
getTextColor in class mxGeneralShapecharIX - IX atribute of Char element
public boolean hasTextColor(String charIX)
mxGeneralShape
hasTextColor in class mxGeneralShapecharIX - IX atribute of Char element
true if the color of one text fragment is defined.public String getTextFont(String charIX)
mxGeneralShape
getTextFont in class mxGeneralShapecharIX - IX atribute of Char element
public String getTextSize(String charIX)
mxGeneralShape
getTextSize in class mxGeneralShapecharIX - IX atribute of Char element
public boolean hasTextFont(String charIX)
mxGeneralShape
hasTextFont in class mxGeneralShapecharIX - IX atribute of Char element
true if the font of one text fragment is defined.public boolean hasTextSize(String charIX)
mxGeneralShape
hasTextSize in class mxGeneralShapecharIX - IX atribute of Char element
true if the size of one text fragment is defined.public String getTextBkgndColor()
mxGeneralShape
getTextBkgndColor in class mxGeneralShapepublic int getTextPos(String charIX)
mxGeneralShape
getTextPos in class mxGeneralShapecharIX - IX atribute of Char element
public boolean getTextStrike(String charIX)
mxGeneralShape
getTextStrike in class mxGeneralShapecharIX - IX atribute of Char element
true if one text fragment is Strikethrupublic String getTextStyle(String charIX)
mxGeneralShape
getTextStyle in class mxGeneralShapecharIX - IX atribute of Char element
public boolean hasTextBkgndColor()
mxGeneralShape
hasTextBkgndColor in class mxGeneralShapetrue if the background color of text is defined.public boolean hasTextPos(String charIX)
mxGeneralShape
hasTextPos in class mxGeneralShapecharIX - IX atribute of Char element
true if the position of one text fragment is defined.public boolean hasTextStrike(String charIX)
mxGeneralShape
hasTextStrike in class mxGeneralShapecharIX - IX atribute of Char element
true if the strikethru of one text fragment is definedpublic boolean hasTextStyle(String charIX)
mxGeneralShape
hasTextStyle in class mxGeneralShapecharIX - IX atribute of Char element
true if the style of one text fragment is defined.public double getTextBottomMargin()
mxGeneralShape
getTextBottomMargin in class mxGeneralShapepublic double getTextLeftMargin()
mxGeneralShape
getTextLeftMargin in class mxGeneralShapepublic double getTextRightMargin()
mxGeneralShape
getTextRightMargin in class mxGeneralShapepublic double getTextTopMargin()
mxGeneralShape
getTextTopMargin in class mxGeneralShapepublic boolean hasTextBottomMargin()
mxGeneralShape
hasTextBottomMargin in class mxGeneralShapetrue if the bottom margin of text is defined.public boolean hasTextLeftMargin()
mxGeneralShape
hasTextLeftMargin in class mxGeneralShapetrue if the left margin of text is defined.public boolean hasTextRightMargin()
mxGeneralShape
hasTextRightMargin in class mxGeneralShapetrue if the right margin of text is defined.public boolean hasTextTopMargin()
mxGeneralShape
hasTextTopMargin in class mxGeneralShapetrue if the top margin of text is definedpublic int getVerticalAlign()
mxGeneralShape
getVerticalAlign in class mxGeneralShapepublic boolean hasVerticalAlign()
mxGeneralShape
hasVerticalAlign in class mxGeneralShapetrue if the vertical align of text is defined.public int getHorizontalAlign(String paraIX)
mxGeneralShape
getHorizontalAlign in class mxGeneralShapeparaIX - IX atribute of Para element
public String getIndentFirst(String paraIX)
mxGeneralShape
getIndentFirst in class mxGeneralShapeparaIX - IX atribute of Para element
public boolean hasHorizontalAlign(String paraIX)
mxGeneralShape
hasHorizontalAlign in class mxGeneralShapeparaIX - IX atribute of Para element
true if the horizontal align of text is defined.public boolean hasIndentFirst(String paraIX)
mxGeneralShape
hasIndentFirst in class mxGeneralShapeparaIX - IX atribute of Para element
true if the first indent of one paragraph is defined.public String getIndentLeft(String paraIX)
mxGeneralShape
getIndentLeft in class mxGeneralShapeparaIX - IX atribute of Para element
public boolean hasIndentLeft(String paraIX)
mxGeneralShape
hasIndentLeft in class mxGeneralShapeparaIX - IX atribute of Para element
true if the indent to left of one paragraph is defined.public String getIndentRight(String paraIX)
mxGeneralShape
getIndentRight in class mxGeneralShapeparaIX - IX atribute of Para element
public boolean hasIndentRight(String paraIX)
mxGeneralShape
hasIndentRight in class mxGeneralShapeparaIX - IX atribute of Para element
true if the indent to right of one paragraph is defined.public String getSpAfter(String paraIX)
mxGeneralShape
getSpAfter in class mxGeneralShapeparaIX - IX atribute of Para element
public String getSpBefore(String paraIX)
mxGeneralShape
getSpBefore in class mxGeneralShapeparaIX - IX atribute of Para element
public boolean hasSpAfter(String paraIX)
mxGeneralShape
hasSpAfter in class mxGeneralShapeparaIX - IX atribute of Para element
true if the space after one paragraph is defined.public boolean hasSpBefore(String paraIX)
mxGeneralShape
hasSpBefore in class mxGeneralShapeparaIX - IX atribute of Para element
true if the space before one paragraph is defined.public double getSpLine(String paraIX)
mxGeneralShape
getSpLine in class mxGeneralShapeparaIX - IX atribute of Para element.
public boolean hasSpLine(String paraIX)
mxGeneralShape
hasSpLine in class mxGeneralShapeparaIX - IX atribute of Para element
true if the space between lines in one paragraph is defined.public String getRTLText(String paraIX)
mxGeneralShape
getRTLText in class mxGeneralShapeparaIX - IX atribute of Para element.
public boolean hasRTLText(String paraIX)
mxGeneralShape
hasRTLText in class mxGeneralShapeparaIX - IX atribute of Para element
true if the direction of one text fragment is defined.public String getFlags(String paraIX)
mxGeneralShape
getFlags in class mxGeneralShapeparaIX - IX atribute of Para element.
public boolean hasFlags(String paraIX)
mxGeneralShape
hasFlags in class mxGeneralShapeparaIX - IX atribute of Para element.
true if the flags of one paragraph is defined.public String getLetterSpace(String paraIX)
mxGeneralShape
getLetterSpace in class mxGeneralShapeparaIX - IX atribute of Para element.
public boolean hasLetterSpace(String paraIX)
mxGeneralShape
hasLetterSpace in class mxGeneralShapeparaIX - IX atribute of Para element.
true if the space between characters in one text fragment is defined.
|
JGraph X 1.4.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||