Class Graphics
java.lang.Object
de.ipk_gatersleben.ag_nw.graffiti.plugins.ios.kgml.Graphics
public class Graphics extends Object
-
Field Summary
Fields Modifier and Type Field Description static int
missingEntryGraphicsSize
-
Constructor Summary
Constructors Constructor Description Graphics(String name, kgmlNumber x, kgmlNumber y, kgmlGraphicsType type, kgmlNumber width, kgmlNumber height, kgmlColor fgcolor, kgmlColor bgcolor, boolean isGeneProduct)
-
Method Summary
Modifier and Type Method Description Color
getBGcolor()
Color
getFGcolor()
static Graphics
getGraphicsFromGraphNode(Node graphNode, Collection<Gml2PathwayWarningInformation> warnings, Collection<Gml2PathwayErrorInformation> errors)
static Graphics
getGraphicsFromKgmlElement(org.jdom2.Element graphicsElement)
org.jdom2.Element
getKgmlGraphicsElement()
String
getName()
static void
processDefaultNodeDesign(Node n, Entry entry)
void
processNodeDesign(Node n, boolean hasComponents)
void
setBGcolor(Color bgc)
void
setFGcolor(Color fgc)
void
setGraphicsType(kgmlGraphicsType graphicsType)
void
setHeight(int height)
void
setName(String name)
void
setWidth(int width)
-
Field Details
-
missingEntryGraphicsSize
public static int missingEntryGraphicsSize
-
-
Constructor Details
-
Graphics
public Graphics(String name, kgmlNumber x, kgmlNumber y, kgmlGraphicsType type, kgmlNumber width, kgmlNumber height, kgmlColor fgcolor, kgmlColor bgcolor, boolean isGeneProduct)
-
-
Method Details
-
getGraphicsFromKgmlElement
-
getName
-
setName
-
getKgmlGraphicsElement
public org.jdom2.Element getKgmlGraphicsElement() -
processNodeDesign
-
processDefaultNodeDesign
-
getGraphicsFromGraphNode
public static Graphics getGraphicsFromGraphNode(Node graphNode, Collection<Gml2PathwayWarningInformation> warnings, Collection<Gml2PathwayErrorInformation> errors) -
getBGcolor
-
getFGcolor
-
setBGcolor
-
setFGcolor
-
setGraphicsType
-
setWidth
public void setWidth(int width) -
setHeight
public void setHeight(int height)
-