org.graphstream.ui.j2dviewer.renderer.JComponentRenderer
The Swing Component.
Set or reset the text alignment for the Swing component.
Set or reset the text font size, style and colour for the Swing component.
Set or reset the label of the component.
Detach the Swing component from the graph element, remove the Swing component from its Swing container and remove any listeners on the Swing component.
Detach the Swing component from the graph element, remove the Swing component from its Swing container and remove any listeners on the Swing component. The ComponentElement is not usable after this.
Set to true if the element is not yet initialised with its style.
Set of reset the fill mode and colour for the Swing component.
Check the swing component follows the graph element position.
Check the swing component follows the graph element position.
The transformation from GU to PX.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
(Since version ) see corresponding Javadoc for more information.
Represents the link between a JComponent and a GraphicElement.
Each of these component elements receive the action events of their button/text-field (for panel the user is free to do whatever he wants). They are in charge of adding and removing the component in the rendering surface, etc.
These elements also allow to push and remove the style to Swing components. We try to do this only when the style potentially changed, not at each redraw.