|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object infovis.visualization.magicLens.DefaultMagicLens infovis.visualization.magicLens.DefaultExcentricLabels
public class DefaultExcentricLabels
Display excentric labels around items in a labeledComponent.
Field Summary |
---|
Fields inherited from interface infovis.visualization.MagicLens |
---|
PROPERTY_ENABLED, PROPERTY_LENS_POSITION_X, PROPERTY_LENS_POSITION_Y, PROPERTY_LENS_RADIUS |
Constructor Summary | |
---|---|
DefaultExcentricLabels()
Constructor for DefaultExcentricLabels. |
Method Summary | |
---|---|
int |
compare(Object o1,
Object o2)
For sorting points vertically. |
Color |
getBackgroundColor()
Returns the backgroundColor. |
Fisheye |
getFisheye()
|
LabeledComponent.LabeledItem |
getItem(int index)
|
int |
getMaxLabels()
Returns the maxLabels. |
boolean |
isDrawBounds()
|
boolean |
isOpaque()
Returns the opaque. |
boolean |
isVisible()
Returns the visible. |
void |
paint(Graphics2D graphics,
Rectangle2D bounds)
|
void |
setBackgroundColor(Color backgroundColor)
Sets the backgroundColor. |
void |
setDrawBounds(boolean b)
|
void |
setEnabled(boolean set)
Sets the enabled state of the magic lens. |
void |
setFisheye(Fisheye fisheye)
|
void |
setFocusRadius(int focusSize)
Sets the focusRadius. |
void |
setLens(float x,
float y)
Sets for focus position |
void |
setMaxLabels(int maxLabels)
Sets the maxLabels. |
void |
setOpaque(boolean opaque)
Sets the opaque. |
void |
setVisible(boolean visible)
Sets the visible. |
void |
setVisualization(LabeledComponent labeledComponent)
|
Methods inherited from class infovis.visualization.magicLens.DefaultMagicLens |
---|
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBounds, getLensRadius, getLensX, getLensY, isEnabled, removePropertyChangeListener, removePropertyChangeListener, setLensRadius, setLensX, setLensY |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface infovis.visualization.MagicLens |
---|
addPropertyChangeListener, addPropertyChangeListener, getBounds, getLensRadius, getLensX, getLensY, isEnabled, removePropertyChangeListener, removePropertyChangeListener, setLensRadius, setLensX, setLensY |
Methods inherited from interface java.util.Comparator |
---|
equals |
Constructor Detail |
---|
public DefaultExcentricLabels()
Method Detail |
---|
public void setVisualization(LabeledComponent labeledComponent)
setVisualization
in interface ExcentricLabels
public LabeledComponent.LabeledItem getItem(int index)
public void paint(Graphics2D graphics, Rectangle2D bounds)
paint
in interface ExcentricLabels
public boolean isVisible()
isVisible
in interface ExcentricLabels
public void setVisible(boolean visible)
setVisible
in interface ExcentricLabels
visible
- The visible to setpublic void setEnabled(boolean set)
MagicLens
setEnabled
in interface MagicLens
setEnabled
in class DefaultMagicLens
set
- the enabled state to setpublic int compare(Object o1, Object o2)
compare
in interface Comparator
Comparator.compare(Object, Object)
public void setLens(float x, float y)
MagicLens
setLens
in interface MagicLens
setLens
in class DefaultMagicLens
x
- X coordinate of the positiony
- X coordinate of the positionpublic int getMaxLabels()
getMaxLabels
in interface ExcentricLabels
public void setMaxLabels(int maxLabels)
setMaxLabels
in interface ExcentricLabels
maxLabels
- The maxLabels to setpublic void setFocusRadius(int focusSize)
focusSize
- The focusRadius to setpublic Color getBackgroundColor()
public boolean isOpaque()
isOpaque
in interface ExcentricLabels
public void setBackgroundColor(Color backgroundColor)
backgroundColor
- The backgroundColor to setpublic void setOpaque(boolean opaque)
setOpaque
in interface ExcentricLabels
opaque
- The opaque to setpublic Fisheye getFisheye()
public void setFisheye(Fisheye fisheye)
public boolean isDrawBounds()
public void setDrawBounds(boolean b)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |