Class IconAndText
java.lang.Object
org.graphstream.ui.swing.renderer.shape.swing.IconAndText
public abstract class IconAndText
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description IconAndText(org.graphstream.ui.swing.renderer.shape.swing.TextBox text, double offx, double offy, double padx, double pady)
-
Method Summary
Modifier and Type Method Description static IconAndText
apply(org.graphstream.ui.graphicGraph.stylesheet.Style style, org.graphstream.ui.view.camera.DefaultCamera2D camera, org.graphstream.ui.graphicGraph.GraphicElement element)
abstract double
getHeight()
abstract java.lang.String
getText(Backend backend)
abstract double
getWidth()
abstract void
render(Backend backend, org.graphstream.ui.view.camera.DefaultCamera2D camera, double xLeft, double yBottom)
abstract void
setIcon(Backend backend, java.lang.String url)
abstract void
setText(Backend backend, java.lang.String text)
-
Constructor Details
-
IconAndText
public IconAndText(org.graphstream.ui.swing.renderer.shape.swing.TextBox text, double offx, double offy, double padx, double pady)
-
-
Method Details
-
apply
public static IconAndText apply(org.graphstream.ui.graphicGraph.stylesheet.Style style, org.graphstream.ui.view.camera.DefaultCamera2D camera, org.graphstream.ui.graphicGraph.GraphicElement element) -
render
public abstract void render(Backend backend, org.graphstream.ui.view.camera.DefaultCamera2D camera, double xLeft, double yBottom) -
setIcon
-
setText
-
getWidth
public abstract double getWidth() -
getHeight
public abstract double getHeight() -
getText
-