Package org.graphstream.ui.graphicGraph
Class StyleGroup.ElementEvents
java.lang.Object
org.graphstream.ui.graphicGraph.StyleGroup.ElementEvents
- Enclosing class:
- StyleGroup
public static class StyleGroup.ElementEvents extends Object
Description of an element that is actually modified by one or more events
occurring on it.
-
Method Summary
Modifier and Type Method Description voidactivate()voiddeactivate()inteventCount()Number of events actually affecting the element.String[]events()The set of events actually occurring on the element.ElementgetElement()The element on which the events are occurring.StringtoString()
-
Method Details
-
getElement
The element on which the events are occurring.- Returns:
- an element.
-
eventCount
public int eventCount()Number of events actually affecting the element.- Returns:
- The number of events affecting the element.
-
events
The set of events actually occurring on the element.- Returns:
- A set of strings.
-
activate
public void activate() -
deactivate
public void deactivate() -
toString
-