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, setPosition
disable, enable, isEnabled, setEnabled, setup, update
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public 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.PositionedComponent
setPosition
in class usf.saav.common.mvc.PositionedComponent.Default
public boolean isActive()
public void draw(usf.saav.common.mvc.swing.TGraphics g)
draw
in interface usf.saav.common.mvc.ViewComponent
draw
in class usf.saav.common.mvc.ViewComponent.Default
public boolean keyPressed(char key)
keyPressed
in interface usf.saav.common.mvc.ControllerComponent
public boolean mouseWheel(int mouseX, int mouseY, float count)
mouseWheel
in interface usf.saav.common.mvc.ControllerComponent
public boolean mouseMoved(int mouseX, int mouseY)
mouseMoved
in interface usf.saav.common.mvc.ControllerComponent
public boolean mouseDragged(int mouseX, int mouseY)
mouseDragged
in interface usf.saav.common.mvc.ControllerComponent
public boolean mousePressed(int mouseX, int mouseY)
mousePressed
in interface usf.saav.common.mvc.ControllerComponent
public boolean mouseDoubleClick(int mouseX, int mouseY)
mouseDoubleClick
in interface usf.saav.common.mvc.ControllerComponent
public boolean mouseReleased()
mouseReleased
in interface usf.saav.common.mvc.ControllerComponent
public void addPersistentSimplificationCallback(java.lang.Object obj, java.lang.String func_name)
obj
- the objfunc_name
- the func name