|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent com.jidesoft.treemap.TreeMapView<N> com.jidesoft.treemap.DefaultTreeMapView<N>
public class DefaultTreeMapView<N>
Provides a view for a TreeMapModel
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.jidesoft.treemap.TreeMapView |
---|
TreeMapView.Progressive |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class com.jidesoft.treemap.TreeMapView |
---|
PROPERTY_PROGRESSIVE, uiClassID |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
DefaultTreeMapView()
|
Methods inherited from class com.jidesoft.treemap.TreeMapView |
---|
getProgressive, getUI, getUIClassID, isShowTiming, isUpdateModelDimension, setProgressive, setShowTiming, setUI, setUpdateModelDimension, updateUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultTreeMapView()
Method Detail |
---|
protected void updateModelDimension()
updateModelDimension
in class TreeMapView<N>
public void setModel(TreeMapModel<N> model)
setModel
in class TreeMapView<N>
model
- the new data modelTreeMapView.getModel()
public TreeMapModel<N> getModel()
getModel
in class TreeMapView<N>
TreeMapView.setModel(com.jidesoft.treemap.TreeMapModel)
protected void addPreRenderer(TreeMapRenderer renderer)
protected void addPreProgressiveRenderer(TreeMapRenderer renderer)
protected void addProgressiveRenderer(TreeMapRenderer renderer)
protected void addPostRenderer(TreeMapRenderer renderer)
public void setDirty(boolean dirty)
setDirty
in class TreeMapView<N>
public boolean isDirty()
isDirty
in class TreeMapView<N>
public Shape getScreenShape(N node)
getScreenShape
in class TreeMapView<N>
node
- the node
public Shape getRenderedShape(N node)
getRenderedShape
in class TreeMapView<N>
node
- the node
public Rectangle2D getViewport()
getViewport
in class TreeMapView<N>
public Rectangle2D getWorld()
getWorld
in class TreeMapView<N>
public double screenToWorldX(int x)
screenToWorldX
in class TreeMapView<N>
public double screenToWorldY(int y)
screenToWorldY
in class TreeMapView<N>
protected int worldToScreenX(double x)
worldToScreenX
in class TreeMapView<N>
protected int worldToScreenY(double y)
worldToScreenY
in class TreeMapView<N>
protected MutableBoundedInterval getXRangeModel()
protected MutableBoundedInterval getYRangeModel()
public Iterable<TreeMapRenderer> getPreRenderers()
getPreRenderers
in class TreeMapView<N>
public Iterable<TreeMapRenderer> getPreProgressiveRenderers()
getPreProgressiveRenderers
in class TreeMapView<N>
public Iterable<TreeMapRenderer> getProgressiveRenderers()
getProgressiveRenderers
in class TreeMapView<N>
public Iterable<TreeMapRenderer> getPostRenderers()
getPostRenderers
in class TreeMapView<N>
public void zoom(boolean animate, double x1, double x2, double y1, double y2)
zoom
in class TreeMapView<N>
public N getNode(Point p)
getNode
in class TreeMapView<N>
p
- the location on the screen
public List<N> getNodes(Rectangle rect)
getNodes
in class TreeMapView<N>
rect
- the rectangle in screen coordinates
public void startRubberBand(int x, int y)
startRubberBand
in class TreeMapView<N>
public void stretchRubberBand(int x, int y)
stretchRubberBand
in class TreeMapView<N>
public void stopRubberBand()
stopRubberBand
in class TreeMapView<N>
public Rectangle2D getRubberBand()
getRubberBand
in class TreeMapView<N>
public Rectangle getRubberBandScreen()
getRubberBandScreen
in class TreeMapView<N>
public Rectangle worldToScreeen(Rectangle2D rectangle)
worldToScreeen
in class TreeMapView<N>
rectangle
- the rectangle to convert
public float getZoomFactor()
getZoomFactor
in class TreeMapView<N>
public TreeMapLabelRenderer<N> getLabelRenderer()
getLabelRenderer
in class TreeMapView<N>
public void setLabelRenderer(TreeMapLabelRenderer<N> renderer)
setLabelRenderer
in class TreeMapView<N>
public TreeMapHeaderRenderer<N> getHeaderRenderer()
getHeaderRenderer
in class TreeMapView<N>
public void setHeaderRenderer(TreeMapHeaderRenderer<N> renderer)
setHeaderRenderer
in class TreeMapView<N>
public TreeMapTooltipRenderer<N> getTooltipRenderer()
getTooltipRenderer
in class TreeMapView<N>
public void setTooltipRenderer(TreeMapTooltipRenderer<N> renderer)
setTooltipRenderer
in class TreeMapView<N>
public RenderingHints getRenderingHints()
getRenderingHints
in class TreeMapView<N>
public void setRenderingHints(RenderingHints renderingHints)
setRenderingHints
in class TreeMapView<N>
public TreeMapToolTip<N> getToolTip()
getToolTip
in class TreeMapView<N>
public void setToolTip(TreeMapToolTip<N> tooltip)
setToolTip
in class TreeMapView<N>
public TreeMapToolTip<N> getSelectionToolTip()
getSelectionToolTip
in class TreeMapView<N>
public void setSelectionToolTip(TreeMapToolTip<N> tooltip)
setSelectionToolTip
in class TreeMapView<N>
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |