WikiVis Web Application
 All Classes Namespaces Files Functions Variables Pages
Package Functions | Package Attributes | Static Package Attributes | List of all members
Legend Class Reference

Processing class - This class is used to plot legend-information regarding the main visualisation of user-network. More...

Package Functions

void plotLegend (float x, float y, float widgetWidth, float widgetHeight)
 This method should be invoked to plot the legend.
void plotTitle ()
 Plots title of legend.
void plotSize ()
 Plots size-configuration of symbols.
void plotShape ()
 Plots meaning of nodes' shape.
void plotEdge ()
 Plots color-coding of drawn edges.
void plotVariance ()
 Plots color-coding of nodes and its connection to variance.

Package Attributes

float x = 0
float y = 0
float widgetWidth = 0
float widgetHeight = 0

Static Package Attributes

static final color LEGEND_BACKGROUND = #FFFFFF
static final color LOW_FREQUENCY = #000000
static final color HIGH_FREQUENCY = #E6191A
static final color START_EDGE = #000000
static final color END_EDGE = #FFFFFF
static final color ELLIPSE_STROKE = #000000
static final color TEXT_COLOR = #999999
static final color EDGE_START = #000000
static final color EDGE_END = #FFFFFF
static final color VAR_HIGH = #E6191A
static final color VAR_LOW = #000000
static final color LEGEND_BOX = #999999
static final String LEGEND_TITLE = "author characteristics"
static final String LEGEND_CONTROV = "involved in controversy"
static final String SIZE_HIGH = "very much"
static final String SIZE_LOW = "not much"
static final String LEGEND_SHAPE = "revisor vs. being revised"
static final String EDGE_ONE = "A revises B"
static final String EDGE_BOTH = " A and B revise each other"
static final String LEGEND_VARIANCE = "variance in edit frequency"
static final String FREQ_HIGH = "high"
static final String FREQ_MIDDLE = "middle"
static final String FREQ_LOW = "low"

Detailed Description

Processing class - This class is used to plot legend-information regarding the main visualisation of user-network.

Please pay attention with width/height-ratio, as it should be near 7 : 16.

Author
Manuel Wyss e0106.nosp@m.157@.nosp@m.stude.nosp@m.nt.t.nosp@m.uwien.nosp@m..ac..nosp@m.at

Member Function Documentation

void Legend.plotEdge ( )
package

Plots color-coding of drawn edges.

void Legend.plotLegend ( float  x,
float  y,
float  widgetWidth,
float  widgetHeight 
)
package

This method should be invoked to plot the legend.

Parameters
xStarting position of x-axys in pixel.
yStarting position of y-axys in pixel.
widgetWidthwidth of widget in pixel, padding is computed afterwards.
widgetHeightheight of widget in pixel, padding is computed afterwards.
void Legend.plotShape ( )
package

Plots meaning of nodes' shape.

void Legend.plotSize ( )
package

Plots size-configuration of symbols.

void Legend.plotTitle ( )
package

Plots title of legend.

void Legend.plotVariance ( )
package

Plots color-coding of nodes and its connection to variance.

Member Data Documentation

final String Legend.EDGE_BOTH = " A and B revise each other"
staticpackage
final color Legend.EDGE_END = #FFFFFF
staticpackage
final String Legend.EDGE_ONE = "A revises B"
staticpackage
final color Legend.EDGE_START = #000000
staticpackage
final color Legend.ELLIPSE_STROKE = #000000
staticpackage
final color Legend.END_EDGE = #FFFFFF
staticpackage
final String Legend.FREQ_HIGH = "high"
staticpackage
final String Legend.FREQ_LOW = "low"
staticpackage
final String Legend.FREQ_MIDDLE = "middle"
staticpackage
final color Legend.HIGH_FREQUENCY = #E6191A
staticpackage
final color Legend.LEGEND_BACKGROUND = #FFFFFF
staticpackage
final color Legend.LEGEND_BOX = #999999
staticpackage
final String Legend.LEGEND_CONTROV = "involved in controversy"
staticpackage
final String Legend.LEGEND_SHAPE = "revisor vs. being revised"
staticpackage
final String Legend.LEGEND_TITLE = "author characteristics"
staticpackage
final String Legend.LEGEND_VARIANCE = "variance in edit frequency"
staticpackage
final color Legend.LOW_FREQUENCY = #000000
staticpackage
final String Legend.SIZE_HIGH = "very much"
staticpackage
final String Legend.SIZE_LOW = "not much"
staticpackage
final color Legend.START_EDGE = #000000
staticpackage
final color Legend.TEXT_COLOR = #999999
staticpackage
final color Legend.VAR_HIGH = #E6191A
staticpackage
final color Legend.VAR_LOW = #000000
staticpackage
float Legend.widgetHeight = 0
package
float Legend.widgetWidth = 0
package
float Legend.x = 0
package
float Legend.y = 0
package

The documentation for this class was generated from the following file: