|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.newdawn.slick.svg.NonGeometricData
org.newdawn.slick.svg.inkscape.InkscapeNonGeometricData
public class InkscapeNonGeometricData
A custom non-geometric data type that can pass back any attribute on the field.
| Field Summary |
|---|
| Fields inherited from class org.newdawn.slick.svg.NonGeometricData |
|---|
FILL, ID, NONE, OPACITY, STROKE, STROKE_DASHARRAY, STROKE_DASHOFFSET, STROKE_MITERLIMIT, STROKE_OPACITY, STROKE_WIDTH |
| Constructor Summary | |
|---|---|
InkscapeNonGeometricData(java.lang.String metaData,
org.w3c.dom.Element element)
Create a new non-geometric data holder |
|
| Method Summary | |
|---|---|
java.lang.String |
getAttribute(java.lang.String attribute)
Get the attribtue value for a given attribute |
org.w3c.dom.Element |
getElement()
Returns the XML element that is wrapped by this instance. |
| Methods inherited from class org.newdawn.slick.svg.NonGeometricData |
|---|
addAttribute, getAsColor, getAsFloat, getAsReference, getMetaData, isColor, isFilled, isStroked |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InkscapeNonGeometricData(java.lang.String metaData,
org.w3c.dom.Element element)
metaData - The metadata providedelement - The XML element from the SVG document| Method Detail |
|---|
public java.lang.String getAttribute(java.lang.String attribute)
NonGeometricData
getAttribute in class NonGeometricDataattribute - The attribute whose value should be obtained
NonGeometricData.getAttribute(java.lang.String)public org.w3c.dom.Element getElement()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||