Style Intelligence v12.0

inetsoft.graph.aesthetic
Class VisualModel

java.lang.Object
  extended by inetsoft.graph.aesthetic.VisualModel

public class VisualModel
extends Object

A visual object is an object that has a visual representation on a graphic output.


Constructor Summary
VisualModel()
          Create an empty visual model.
VisualModel(DataSet data, ColorFrame colors, SizeFrame sizes, ShapeFrame shapes, TextureFrame textures, LineFrame lines, TextFrame texts)
          Create a visual model for the graph element.
 
Method Summary
 Color getColor(String var, int idx)
          Get the color of this object.
 ColorFrame getColorFrame()
          Get the color frame.
 GLine getLine(String var, int idx)
          Get the line to use to draw/fill this object.
 LineFrame getLineFrame()
          Get the line frame.
 GShape getShape(String var, int idx)
          Get the shape to use to draw/fill this object.
 ShapeFrame getShapeFrame()
          Get the shape frame.
 double getSize(String var, int idx)
          Get the size of this object.
 SizeFrame getSizeFrame()
          Get the size frame.
 Object getText(String var, int idx)
          Get the text to be drawn for this object.
 TextFrame getTextFrame()
          Get the text frame.
 GTexture getTexture(String var, int idx)
          Get the texture to use to draw/fill this object.
 TextureFrame getTextureFrame()
          Get the texture frame.
 void setColorFrame(ColorFrame color)
          Set the color frame.
 void setLineFrame(LineFrame line)
          Set the line frame.
 void setShapeFrame(ShapeFrame shape)
          Set the shape frame.
 void setSizeFrame(SizeFrame size)
          Set the size frame.
 void setTextFrame(TextFrame text)
          Set the text frame.
 void setTextureFrame(TextureFrame texture)
          Set the texture frame.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VisualModel

public VisualModel()
Create an empty visual model.


VisualModel

public VisualModel(DataSet data,
                   ColorFrame colors,
                   SizeFrame sizes,
                   ShapeFrame shapes,
                   TextureFrame textures,
                   LineFrame lines,
                   TextFrame texts)
Create a visual model for the graph element.

Method Detail

getColor

public Color getColor(String var,
                      int idx)
Get the color of this object.

Parameters:
var - the name of the variable column.
idx - the index of the tuple that is rendered.

getSize

public double getSize(String var,
                      int idx)
Get the size of this object.

Parameters:
var - the name of the variable column.
idx - the index of the tuple that is rendered.

getShape

public GShape getShape(String var,
                       int idx)
Get the shape to use to draw/fill this object.

Parameters:
var - the name of the variable column.
idx - the index of the tuple that is rendered.

getTexture

public GTexture getTexture(String var,
                           int idx)
Get the texture to use to draw/fill this object.

Parameters:
var - the name of the variable column.
idx - the index of the tuple that is rendered.

getLine

public GLine getLine(String var,
                     int idx)
Get the line to use to draw/fill this object.

Parameters:
var - the name of the variable column.
idx - the index of the tuple that is rendered.

getText

public Object getText(String var,
                      int idx)
Get the text to be drawn for this object.

Parameters:
var - the name of the variable column.
idx - the index of the tuple that is rendered.

getColorFrame

public ColorFrame getColorFrame()
Get the color frame.


setColorFrame

public void setColorFrame(ColorFrame color)
Set the color frame.


getSizeFrame

public SizeFrame getSizeFrame()
Get the size frame.


setSizeFrame

public void setSizeFrame(SizeFrame size)
Set the size frame.


getShapeFrame

public ShapeFrame getShapeFrame()
Get the shape frame.


setShapeFrame

public void setShapeFrame(ShapeFrame shape)
Set the shape frame.


getLineFrame

public LineFrame getLineFrame()
Get the line frame.


setLineFrame

public void setLineFrame(LineFrame line)
Set the line frame.


getTextureFrame

public TextureFrame getTextureFrame()
Get the texture frame.


setTextureFrame

public void setTextureFrame(TextureFrame texture)
Set the texture frame.


getTextFrame

public TextFrame getTextFrame()
Get the text frame.


setTextFrame

public void setTextFrame(TextFrame text)
Set the text frame.


Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.