infovis.visualization
Interface Orientable

All Superinterfaces:
SwingConstants
All Known Subinterfaces:
Visualization
All Known Implementing Classes:
BasicVisualizationInteractor, ColumnsVisualization, ColumnVisualization, DefaultAxisVisualization, DefaultVisualization, DefaultVisualizationInteractor, DefaultVisualLabel, DendrogramTreeLayout, DOTGraphWriter, ExcentricLabelVisualization, ExcentricVisualizationInteractor, GraphVisualization, HistogramVisualization, IcicleTreeVisualization, LinkVisualization, MatrixAxisVisualization, MatrixVisualization, NodeLinkGraphVisualization, NodeLinkTreeLayout, NodeLinkTreeVisualization, Orientation, OrientationPanel, PajekGraphWriter, ParallelCoordinatesVisualization, RTLayout, RTPolar, RulerVisualization, ScatterPlotVisualization, SimpleTreeLayout, SliceAndDice, StrokingVisualization, TimeSeriesVisualization, TreeInteractor, TreemapVisualization, TreemapVisualLabel, TreeVisualization, VCGGraphWriter, VisualArea, VisualFisheyeInteractor, VisualizationLayers, VisualizationProxy, VisualLabelUnder, VisualSelectionInteractor, VisualStrokingLabel, WrappingVisualLabel

public interface Orientable
extends SwingConstants

Interface for specifiying that an object has an orientation.

Version:
$Revision: 1.7 $
Author:
Jean-Daniel Fekete

Field Summary
static Point2D.Float[] DIRECTION
          Table containing the direction vectors of the orientations.
static String[] NAME
          Table containing the name of the orientations.
static short ORIENTATION_CENTER
          Orientation towards center.
static short ORIENTATION_EAST
          Orientation towards east.
static short ORIENTATION_INVALID
          Constant for an invalid orienation.
static short ORIENTATION_NORTH
          Orientation towards north.
static short ORIENTATION_SOUTH
          Orientation towards south.
static short ORIENTATION_WEST
          Orientation towards west.
static float SQRT2
          Sqrt(2).
 
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
 
Method Summary
 short getOrientation()
          Returns the orientation manages by this interface.
 void setOrientation(short orientation)
          Sets the orientation of this interface.
 

Field Detail

ORIENTATION_INVALID

static final short ORIENTATION_INVALID
Constant for an invalid orienation.

See Also:
Constant Field Values

ORIENTATION_CENTER

static final short ORIENTATION_CENTER
Orientation towards center.

See Also:
Constant Field Values

ORIENTATION_NORTH

static final short ORIENTATION_NORTH
Orientation towards north.

See Also:
Constant Field Values

ORIENTATION_SOUTH

static final short ORIENTATION_SOUTH
Orientation towards south.

See Also:
Constant Field Values

ORIENTATION_EAST

static final short ORIENTATION_EAST
Orientation towards east.

See Also:
Constant Field Values

ORIENTATION_WEST

static final short ORIENTATION_WEST
Orientation towards west.

See Also:
Constant Field Values

SQRT2

static final float SQRT2
Sqrt(2).


NAME

static final String[] NAME
Table containing the name of the orientations.


DIRECTION

static final Point2D.Float[] DIRECTION
Table containing the direction vectors of the orientations.

Method Detail

getOrientation

short getOrientation()
Returns the orientation manages by this interface.

Returns:
the orientation manages by this interface

setOrientation

void setOrientation(short orientation)
Sets the orientation of this interface.

Parameters:
orientation - the orientation.


Copyright 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.