public class PersistenceDiagramDrawing
extends usf.saav.common.mvc.ViewComponent.Default
implements usf.saav.common.mvc.ControllerComponent, usf.saav.common.mvc.ViewComponent
| Constructor and Description |
|---|
PersistenceDiagramDrawing()
Instantiates a new persistence diagram drawing.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPersistentSimplificationCallback(java.lang.Object obj,
java.lang.String func_name)
Adds the persistent simplification callback.
|
void |
draw(usf.saav.common.mvc.swing.TGraphics g) |
java.util.Set<java.lang.Integer> |
getSelected()
Gets the selected.
|
boolean |
isActive()
Checks if is active.
|
boolean |
keyPressed(char key) |
boolean |
mouseDoubleClick(int mouseX,
int mouseY) |
boolean |
mouseDragged(int mouseX,
int mouseY) |
boolean |
mouseMoved(int mouseX,
int mouseY) |
boolean |
mousePressed(int mouseX,
int mouseY) |
boolean |
mouseReleased() |
boolean |
mouseWheel(int mouseX,
int mouseY,
float count) |
void |
setParameterizations(PersistenceSet curr,
PersistenceSet... pd)
Sets the parameterizations.
|
void |
setPosition(int x0,
int y0,
int size_x,
int size_y) |
void |
setSelected(java.util.Set<java.lang.Integer> sel)
Sets the selected.
|
getHeight, getPosition, getU0, getV0, getWidth, inRange, setPositiondisable, enable, isEnabled, setEnabled, setup, updateequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic PersistenceDiagramDrawing()
public void setParameterizations(PersistenceSet curr, PersistenceSet... pd)
curr - the currpd - the pdpublic void setSelected(java.util.Set<java.lang.Integer> sel)
sel - the new selectedpublic java.util.Set<java.lang.Integer> getSelected()
public void setPosition(int x0,
int y0,
int size_x,
int size_y)
setPosition in interface usf.saav.common.mvc.PositionedComponentsetPosition in class usf.saav.common.mvc.PositionedComponent.Defaultpublic boolean isActive()
public void draw(usf.saav.common.mvc.swing.TGraphics g)
draw in interface usf.saav.common.mvc.ViewComponentdraw in class usf.saav.common.mvc.ViewComponent.Defaultpublic boolean keyPressed(char key)
keyPressed in interface usf.saav.common.mvc.ControllerComponentpublic boolean mouseWheel(int mouseX,
int mouseY,
float count)
mouseWheel in interface usf.saav.common.mvc.ControllerComponentpublic boolean mouseMoved(int mouseX,
int mouseY)
mouseMoved in interface usf.saav.common.mvc.ControllerComponentpublic boolean mouseDragged(int mouseX,
int mouseY)
mouseDragged in interface usf.saav.common.mvc.ControllerComponentpublic boolean mousePressed(int mouseX,
int mouseY)
mousePressed in interface usf.saav.common.mvc.ControllerComponentpublic boolean mouseDoubleClick(int mouseX,
int mouseY)
mouseDoubleClick in interface usf.saav.common.mvc.ControllerComponentpublic boolean mouseReleased()
mouseReleased in interface usf.saav.common.mvc.ControllerComponentpublic void addPersistentSimplificationCallback(java.lang.Object obj,
java.lang.String func_name)
obj - the objfunc_name - the func name