|
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
com.mxgraph.io.vdx.mxStyleSheet
public class mxStyleSheet
This class is a wrapper for a stylesheet element.
The Stylesheet element is treated like a shape element.
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.
All method that recieve a index like param ignores it. Stylesheets only have
one element of each class.
| Field Summary |
|---|
| Fields inherited from class com.mxgraph.io.vdx.mxDelegateShape |
|---|
fillStyle, lineStyle, textStyle |
| Fields inherited from class com.mxgraph.io.vdx.mxGeneralShape |
|---|
shape |
| Constructor Summary | |
|---|---|
mxStyleSheet(Element s)
|
|
| Method Summary | |
|---|---|
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 |
getRTLText(String paraIX)
Returns the direction of one text fragment. |
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 |
getTextColor(String charIX)
Returns the color of one text fragment |
String |
getTextFont(String charIX)
Returns the font of one text fragment |
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. |
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 |
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 |
hasTextFont(String charIX)
Checks if the font of one text fragment is defined |
boolean |
hasTextPos(String charIX)
Checks if the position of one text fragment 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. |
| 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 |
| Constructor Detail |
|---|
public mxStyleSheet(Element s)
| Method Detail |
|---|
public String getFlags(String paraIX)
mxGeneralShape
getFlags in class mxDelegateShapeparaIX - IX atribute of Para element.
public int getHorizontalAlign(String paraIX)
mxGeneralShape
getHorizontalAlign in class mxDelegateShapeparaIX - IX atribute of Para element
public String getIndentFirst(String paraIX)
mxGeneralShape
getIndentFirst in class mxDelegateShapeparaIX - IX atribute of Para element
public String getIndentLeft(String paraIX)
mxGeneralShape
getIndentLeft in class mxDelegateShapeparaIX - IX atribute of Para element
public String getIndentRight(String paraIX)
mxGeneralShape
getIndentRight in class mxDelegateShapeparaIX - IX atribute of Para element
public String getLetterSpace(String paraIX)
mxGeneralShape
getLetterSpace in class mxDelegateShapeparaIX - IX atribute of Para element.
public String getRTLText(String paraIX)
mxGeneralShape
getRTLText in class mxDelegateShapeparaIX - IX atribute of Para element.
public String getSpAfter(String paraIX)
mxGeneralShape
getSpAfter in class mxDelegateShapeparaIX - IX atribute of Para element
public String getSpBefore(String paraIX)
mxGeneralShape
getSpBefore in class mxDelegateShapeparaIX - IX atribute of Para element
public double getSpLine(String paraIX)
mxGeneralShape
getSpLine in class mxDelegateShapeparaIX - IX atribute of Para element.
public String getTextColor(String charIX)
mxGeneralShape
getTextColor in class mxDelegateShapecharIX - IX atribute of Char element
public String getTextFont(String charIX)
mxGeneralShape
getTextFont in class mxDelegateShapecharIX - IX atribute of Char element
public String getTextSize(String charIX)
mxGeneralShape
getTextSize in class mxDelegateShapecharIX - IX atribute of Char element
public boolean getTextStrike(String charIX)
mxGeneralShape
getTextStrike in class mxDelegateShapecharIX - IX atribute of Char element
true if one text fragment is Strikethrupublic String getTextStyle(String charIX)
mxGeneralShape
getTextStyle in class mxDelegateShapecharIX - IX atribute of Char element
public boolean hasFlags(String paraIX)
mxGeneralShape
hasFlags in class mxDelegateShapeparaIX - IX atribute of Para element.
true if the flags of one paragraph is defined.public boolean hasHorizontalAlign(String paraIX)
mxGeneralShape
hasHorizontalAlign in class mxDelegateShapeparaIX - IX atribute of Para element
true if the horizontal align of text is defined.public boolean hasIndentFirst(String paraIX)
mxGeneralShape
hasIndentFirst in class mxDelegateShapeparaIX - IX atribute of Para element
true if the first indent of one paragraph is defined.public boolean hasIndentLeft(String paraIX)
mxGeneralShape
hasIndentLeft in class mxDelegateShapeparaIX - IX atribute of Para element
true if the indent to left of one paragraph is defined.public boolean hasIndentRight(String paraIX)
mxGeneralShape
hasIndentRight in class mxDelegateShapeparaIX - IX atribute of Para element
true if the indent to right of one paragraph is defined.public boolean hasLetterSpace(String paraIX)
mxGeneralShape
hasLetterSpace in class mxDelegateShapeparaIX - IX atribute of Para element.
true if the space between characters in one text fragment is defined.public boolean hasSpAfter(String paraIX)
mxGeneralShape
hasSpAfter in class mxDelegateShapeparaIX - IX atribute of Para element
true if the space after one paragraph is defined.public boolean hasSpBefore(String paraIX)
mxGeneralShape
hasSpBefore in class mxDelegateShapeparaIX - IX atribute of Para element
true if the space before one paragraph is defined.public boolean hasSpLine(String paraIX)
mxGeneralShape
hasSpLine in class mxDelegateShapeparaIX - IX atribute of Para element
true if the space between lines in one paragraph is defined.public boolean hasTextFont(String charIX)
mxGeneralShape
hasTextFont in class mxDelegateShapecharIX - IX atribute of Char element
true if the font of one text fragment is defined.public boolean hasTextPos(String charIX)
mxGeneralShape
hasTextPos in class mxDelegateShapecharIX - IX atribute of Char element
true if the position of one text fragment is defined.public boolean hasTextSize(String charIX)
mxGeneralShape
hasTextSize in class mxDelegateShapecharIX - IX atribute of Char element
true if the size of one text fragment is defined.public boolean hasTextStrike(String charIX)
mxGeneralShape
hasTextStrike in class mxDelegateShapecharIX - IX atribute of Char element
true if the strikethru of one text fragment is definedpublic boolean hasTextStyle(String charIX)
mxGeneralShape
hasTextStyle in class mxDelegateShapecharIX - IX atribute of Char element
true if the style of 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 | |||||||||