|
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 mxGeneralShape
public String getFillForeColor()
mxGeneralShape
getFillForeColor
in class mxGeneralShape
public String getFillPattern()
mxGeneralShape
getFillPattern
in class mxGeneralShape
public boolean hasFillColor()
mxGeneralShape
hasFillColor
in class mxGeneralShape
true
if back ground color of the Shape is defined.public boolean hasFillForeColor()
mxGeneralShape
hasFillForeColor
in class mxGeneralShape
true
if foreground color of the Shape is defined.public boolean hasFillPattern()
mxGeneralShape
hasFillPattern
in class mxGeneralShape
true
if pattern of the Shape is defined.public double getTransparence()
mxGeneralShape
getTransparence
in class mxGeneralShape
public boolean hasTransparence()
mxGeneralShape
hasTransparence
in class mxGeneralShape
true
if transparence of the Shape is defined.public String getLinePattern()
mxGeneralShape
getLinePattern
in class mxGeneralShape
public boolean hasLinePattern()
mxGeneralShape
hasLinePattern
in class mxGeneralShape
true
if pattern of the line is defined.public String getBeginArrow()
mxGeneralShape
getBeginArrow
in class mxGeneralShape
public String getEndArrow()
mxGeneralShape
getEndArrow
in class mxGeneralShape
public boolean hasBeginArrow()
mxGeneralShape
hasBeginArrow
in class mxGeneralShape
true
if begin arrow of the line is defined.public boolean hasEndArrow()
mxGeneralShape
hasEndArrow
in class mxGeneralShape
true
if end arrow of the line is defined.public boolean hasLineColor()
mxGeneralShape
hasLineColor
in class mxGeneralShape
true
if line color of the Shape is defined.public String getLineColor()
mxGeneralShape
getLineColor
in class mxGeneralShape
public String getBeginArrowSize()
mxGeneralShape
getBeginArrowSize
in class mxGeneralShape
public String getEndArrowSize()
mxGeneralShape
getEndArrowSize
in class mxGeneralShape
public boolean hasBeginArrowSize()
mxGeneralShape
hasBeginArrowSize
in class mxGeneralShape
true
if begin arrow size of the line is defined.public boolean hasEndArrowSize()
mxGeneralShape
hasEndArrowSize
in class mxGeneralShape
true
if end arrow size of the line is defined.public double getLineWeight()
mxGeneralShape
getLineWeight
in class mxGeneralShape
public boolean hasLineWeight()
mxGeneralShape
hasLineWeight
in class mxGeneralShape
true
if the line weight is defined.public double getRounding()
mxGeneralShape
getRounding
in class mxGeneralShape
public String getShdwPattern()
mxGeneralShape
getShdwPattern
in class mxGeneralShape
public boolean hasRounding()
mxGeneralShape
hasRounding
in class mxGeneralShape
true
if line color of the Shape is defined.public boolean hasShdwPattern()
mxGeneralShape
hasShdwPattern
in class mxGeneralShape
true
if shadow pattern of the Shape is defined.public String getTextColor(String charIX)
mxGeneralShape
getTextColor
in class mxGeneralShape
charIX
- IX atribute of Char element
public boolean hasTextColor(String charIX)
mxGeneralShape
hasTextColor
in class mxGeneralShape
charIX
- IX atribute of Char element
true
if the color of one text fragment is defined.public String getTextFont(String charIX)
mxGeneralShape
getTextFont
in class mxGeneralShape
charIX
- IX atribute of Char element
public String getTextSize(String charIX)
mxGeneralShape
getTextSize
in class mxGeneralShape
charIX
- IX atribute of Char element
public boolean hasTextFont(String charIX)
mxGeneralShape
hasTextFont
in class mxGeneralShape
charIX
- IX atribute of Char element
true
if the font of one text fragment is defined.public boolean hasTextSize(String charIX)
mxGeneralShape
hasTextSize
in class mxGeneralShape
charIX
- IX atribute of Char element
true
if the size of one text fragment is defined.public String getTextBkgndColor()
mxGeneralShape
getTextBkgndColor
in class mxGeneralShape
public int getTextPos(String charIX)
mxGeneralShape
getTextPos
in class mxGeneralShape
charIX
- IX atribute of Char element
public boolean getTextStrike(String charIX)
mxGeneralShape
getTextStrike
in class mxGeneralShape
charIX
- IX atribute of Char element
true
if one text fragment is Strikethrupublic String getTextStyle(String charIX)
mxGeneralShape
getTextStyle
in class mxGeneralShape
charIX
- IX atribute of Char element
public boolean hasTextBkgndColor()
mxGeneralShape
hasTextBkgndColor
in class mxGeneralShape
true
if the background color of text is defined.public boolean hasTextPos(String charIX)
mxGeneralShape
hasTextPos
in class mxGeneralShape
charIX
- IX atribute of Char element
true
if the position of one text fragment is defined.public boolean hasTextStrike(String charIX)
mxGeneralShape
hasTextStrike
in class mxGeneralShape
charIX
- IX atribute of Char element
true
if the strikethru of one text fragment is definedpublic boolean hasTextStyle(String charIX)
mxGeneralShape
hasTextStyle
in class mxGeneralShape
charIX
- IX atribute of Char element
true
if the style of one text fragment is defined.public double getTextBottomMargin()
mxGeneralShape
getTextBottomMargin
in class mxGeneralShape
public double getTextLeftMargin()
mxGeneralShape
getTextLeftMargin
in class mxGeneralShape
public double getTextRightMargin()
mxGeneralShape
getTextRightMargin
in class mxGeneralShape
public double getTextTopMargin()
mxGeneralShape
getTextTopMargin
in class mxGeneralShape
public boolean hasTextBottomMargin()
mxGeneralShape
hasTextBottomMargin
in class mxGeneralShape
true
if the bottom margin of text is defined.public boolean hasTextLeftMargin()
mxGeneralShape
hasTextLeftMargin
in class mxGeneralShape
true
if the left margin of text is defined.public boolean hasTextRightMargin()
mxGeneralShape
hasTextRightMargin
in class mxGeneralShape
true
if the right margin of text is defined.public boolean hasTextTopMargin()
mxGeneralShape
hasTextTopMargin
in class mxGeneralShape
true
if the top margin of text is definedpublic int getVerticalAlign()
mxGeneralShape
getVerticalAlign
in class mxGeneralShape
public boolean hasVerticalAlign()
mxGeneralShape
hasVerticalAlign
in class mxGeneralShape
true
if the vertical align of text is defined.public int getHorizontalAlign(String paraIX)
mxGeneralShape
getHorizontalAlign
in class mxGeneralShape
paraIX
- IX atribute of Para element
public String getIndentFirst(String paraIX)
mxGeneralShape
getIndentFirst
in class mxGeneralShape
paraIX
- IX atribute of Para element
public boolean hasHorizontalAlign(String paraIX)
mxGeneralShape
hasHorizontalAlign
in class mxGeneralShape
paraIX
- IX atribute of Para element
true
if the horizontal align of text is defined.public boolean hasIndentFirst(String paraIX)
mxGeneralShape
hasIndentFirst
in class mxGeneralShape
paraIX
- IX atribute of Para element
true
if the first indent of one paragraph is defined.public String getIndentLeft(String paraIX)
mxGeneralShape
getIndentLeft
in class mxGeneralShape
paraIX
- IX atribute of Para element
public boolean hasIndentLeft(String paraIX)
mxGeneralShape
hasIndentLeft
in class mxGeneralShape
paraIX
- 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 mxGeneralShape
paraIX
- IX atribute of Para element
public boolean hasIndentRight(String paraIX)
mxGeneralShape
hasIndentRight
in class mxGeneralShape
paraIX
- 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 mxGeneralShape
paraIX
- IX atribute of Para element
public String getSpBefore(String paraIX)
mxGeneralShape
getSpBefore
in class mxGeneralShape
paraIX
- IX atribute of Para element
public boolean hasSpAfter(String paraIX)
mxGeneralShape
hasSpAfter
in class mxGeneralShape
paraIX
- IX atribute of Para element
true
if the space after one paragraph is defined.public boolean hasSpBefore(String paraIX)
mxGeneralShape
hasSpBefore
in class mxGeneralShape
paraIX
- IX atribute of Para element
true
if the space before one paragraph is defined.public double getSpLine(String paraIX)
mxGeneralShape
getSpLine
in class mxGeneralShape
paraIX
- IX atribute of Para element.
public boolean hasSpLine(String paraIX)
mxGeneralShape
hasSpLine
in class mxGeneralShape
paraIX
- 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 mxGeneralShape
paraIX
- IX atribute of Para element.
public boolean hasRTLText(String paraIX)
mxGeneralShape
hasRTLText
in class mxGeneralShape
paraIX
- IX atribute of Para element
true
if the direction of one text fragment is defined.public String getFlags(String paraIX)
mxGeneralShape
getFlags
in class mxGeneralShape
paraIX
- IX atribute of Para element.
public boolean hasFlags(String paraIX)
mxGeneralShape
hasFlags
in class mxGeneralShape
paraIX
- IX atribute of Para element.
true
if the flags of one paragraph is defined.public String getLetterSpace(String paraIX)
mxGeneralShape
getLetterSpace
in class mxGeneralShape
paraIX
- IX atribute of Para element.
public boolean hasLetterSpace(String paraIX)
mxGeneralShape
hasLetterSpace
in class mxGeneralShape
paraIX
- 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 |