|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfovis.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 ExcentricLabelspublic LabeledComponent.LabeledItem getItem(int index)
public void paint(Graphics2D graphics,
Rectangle2D bounds)
paint in interface ExcentricLabelspublic boolean isVisible()
isVisible in interface ExcentricLabelspublic void setVisible(boolean visible)
setVisible in interface ExcentricLabelsvisible - The visible to setpublic void setEnabled(boolean set)
MagicLens
setEnabled in interface MagicLenssetEnabled in class DefaultMagicLensset - the enabled state to set
public int compare(Object o1,
Object o2)
compare in interface ComparatorComparator.compare(Object, Object)
public void setLens(float x,
float y)
MagicLens
setLens in interface MagicLenssetLens in class DefaultMagicLensx - X coordinate of the positiony - X coordinate of the positionpublic int getMaxLabels()
getMaxLabels in interface ExcentricLabelspublic void setMaxLabels(int maxLabels)
setMaxLabels in interface ExcentricLabelsmaxLabels - The maxLabels to setpublic void setFocusRadius(int focusSize)
focusSize - The focusRadius to setpublic Color getBackgroundColor()
public boolean isOpaque()
isOpaque in interface ExcentricLabelspublic void setBackgroundColor(Color backgroundColor)
backgroundColor - The backgroundColor to setpublic void setOpaque(boolean opaque)
setOpaque in interface ExcentricLabelsopaque - 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 | |||||||||