|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.xqhs.util.config.Config
net.xqhs.graphs.representation.RepresentationElement
net.xqhs.graphs.representation.graphical.GraphicalRepresentationElement
public class GraphicalRepresentationElement
Extension of RepresentationElement for graphical representations.
Each graph component (as a VisualizableGraphComponent corresponds to a Gel GElement, which usually
also has a GLabel.
| Nested Class Summary | |
|---|---|
(package private) static class |
GraphicalRepresentationElement.EdgeType
|
(package private) static class |
GraphicalRepresentationElement.Type
The type of the representation. |
| Nested classes/interfaces inherited from class net.xqhs.util.config.Config |
|---|
net.xqhs.util.config.Config.ConfigLockedException |
| Field Summary | |
|---|---|
(package private) java.util.List<GraphicalRepresentationElement> |
connected
|
(package private) GraphicalRepresentationElement.EdgeType |
edgeType
|
(package private) net.xqhs.graphical.GElement |
gelement
|
(package private) net.xqhs.graphical.GLabel |
glabel
|
(package private) java.awt.Point |
gridPos
|
(package private) float |
heightFactor
|
(package private) java.lang.String |
label
|
(package private) java.awt.Point |
subSize
|
(package private) GraphicalRepresentationElement.Type |
type
|
(package private) float |
widthFactor
|
| Constructor Summary | |
|---|---|
GraphicalRepresentationElement(GraphRepresentation root,
VisualizableGraphComponent component,
GraphicalRepresentationElement.Type elementType)
|
|
| Method Summary | |
|---|---|
net.xqhs.graphical.GElement |
getGElement()
|
GraphicalRepresentationElement |
positionInGrid(java.awt.Point position,
float widthFactor,
float heightFactor)
|
GraphicalRepresentationElement |
positionInRadial(java.awt.Point position,
java.awt.geom.Point2D center,
float angleFactor,
float rangeFactor)
|
GraphicalRepresentationElement |
setEdge(GraphicalRepresentationElement.EdgeType type,
GraphicalRepresentationElement from,
GraphicalRepresentationElement to)
|
GraphicalRepresentationElement |
setHighlighted(boolean doHighlight)
|
GraphicalRepresentationElement |
setSize(java.awt.Point size)
|
| Methods inherited from class net.xqhs.graphs.representation.RepresentationElement |
|---|
getParentRepresentation, getRepresentedComponent, getRootRepresentation |
| Methods inherited from class net.xqhs.util.config.Config |
|---|
build, ensureLocked, lock, locked, lockedEx, makeDefaults |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
GraphicalRepresentationElement.Type type
net.xqhs.graphical.GElement gelement
net.xqhs.graphical.GLabel glabel
java.awt.Point gridPos
java.awt.Point subSize
java.lang.String label
float widthFactor
float heightFactor
java.util.List<GraphicalRepresentationElement> connected
GraphicalRepresentationElement.EdgeType edgeType
| Constructor Detail |
|---|
public GraphicalRepresentationElement(GraphRepresentation root,
VisualizableGraphComponent component,
GraphicalRepresentationElement.Type elementType)
| Method Detail |
|---|
public GraphicalRepresentationElement setEdge(GraphicalRepresentationElement.EdgeType type,
GraphicalRepresentationElement from,
GraphicalRepresentationElement to)
public GraphicalRepresentationElement setSize(java.awt.Point size)
public GraphicalRepresentationElement setHighlighted(boolean doHighlight)
public net.xqhs.graphical.GElement getGElement()
public GraphicalRepresentationElement positionInGrid(java.awt.Point position,
float widthFactor,
float heightFactor)
public GraphicalRepresentationElement positionInRadial(java.awt.Point position,
java.awt.geom.Point2D center,
float angleFactor,
float rangeFactor)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||