I have created a Canvas Control Library with all the common controls and advanced ones like TreeView, which due to the nature of canvas, allow for great control over the graphical presentation of the controls and their item contents. In this article, I cover all the controls included in the library.
|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.epic.canvascontrollibrary;
import java.util.ArrayList;
import java.util.List;
/**
*
* @author Gilgamesh
*/
public class CCLBarGraphProps
{
public String CanvasID;
public String WindowID;
public String X;
public String Y;
public String Width;
public String Height;
public List<Object> Data;
public String MaxValue;
public String NumMarksY;
public String Title;
public String TitleTextColor;
public String TitleTextHeight;
public String TitleTextFontString;
public String BarWidth;
public List<Object> BarLabelsWithBoundingBoxes;
public String H;
public String AxisLabelsTextHeight;
public String AxisLabelsTextFontString;
public String AxisLabelsTextColor;
public String MarginLeft;
public String GapBetweenBars;
public String BarClickFunction;
public String AlreadyUnregisteredAnimation;
public String HasLegend;
public String MarginRight;
public Object Tag;
public String TabStopIndex;
CCLBarGraphProps()
{
Data = new ArrayList<Object>();
BarLabelsWithBoundingBoxes = new ArrayList<Object>();
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I have been coding since 1983ish in a variety of languages. I originally started as a game programmer and then switched to business programming from 1990. I still program games.