Click here to Skip to main content
15,894,955 members
Articles / Web Development / HTML5

Canvas Control Library and New Forms Based System for building Web Pages and Websites

Rate me:
Please Sign up or sign in to vote.
4.98/5 (108 votes)
8 Mar 2021CPOL63 min read 403.6K   7.8K   260  
Canvas Control Library provides highly customizable controls using the HTML5 Canvas element. Also includes a new Forms based system which is a new way to build your web pages and websites.
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 CCLCalenderProps
    {
        public String CanvasID;
        public String WindowID;
        public String X;
        public String Y;
        public String Width;
        public String Height;
        public String VisibleMonth;
        public String VisibleYear;
        public String SelectedDay;
        public String DayCellWidth;
        public String DayCellHeight;
        public String HeaderHeight;
        public String TextHeaderColor;
        public String TextHeaderHeight;
        public String TextHeaderFontString;
        public String DayDateActiveColor;
        public String DayDateActiveTextHeight;
        public String DayDateActiveTextFontString;
        public String DayDateInactiveTextColor;
        public String DayDateInactiveTextHeight;
        public String DayDateInactiveTextFontString;
        public String SelectedDayTextColor;
        public String SelectedDayTextHeight;
        public String SelectedDayTextFontString;
        public String SelectedDayHighLightColor;
        public String TodayTextColor;
        public String TodayTextHeight;
        public String TodayTextFontString;
        public String TodayHighLightColor;
        public String OnDayClickFunction;
        public String HeaderBackgroundColor;
        public String BodyBackgroundColor;
        public String MouseOverHightLightColor;
        public String MouseHoverDate;
        public List<Object> ButtonClickExtents;
        public List<Object> DateClickExtents;
        public String DayLabelTextColor;
        public String DayLabelTextHeight;
        public String DayLabelTextFontString;
        public Object Tag;
        public String TabStopIndex;

        CCLCalenderProps()
        {
            ButtonClickExtents = new ArrayList<Object>();
            DateClickExtents = 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.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect
India India
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.

Comments and Discussions