Package com.ccg.awt

AWT Related Classes.

See:
          Description

Interface Summary
ImageGenerator Definition of what a ImageGenerator must be able to do.
 

Class Summary
Align A "calculator" used to align rectangular regions.
ImageButton A lightweight push button which allows pressed/released images.
ImageGen Implementation of a image generator This class is a full implementation of a ImageGenerator.
ImageHolder A generic method to cache Image objects in.
ImageUtility Generic utilites to use while working with Image objects.
ImageViewer Simple lightweight component to display a image.
InsetPanel A panel with a decoratable border area.
LoginDialog  
LoginPanel A simple Login panel.
MenuChoice Create a flyout menu of choices from a LookupKeyed.
MultiLineText Class to draw text onto a graphic surface which may have multiple lines.
RGBPixels Manipulate integer array representations of images.
TallButton A lightweight three state button that can be set quite tall.
Trigger  
TriggerButton An easy way to create localized buttons and link callbacks.
 

Package com.ccg.awt Description

AWT Related Classes.

The classes defined in this provide some AWT extension classes to help facilitate some common tasks. Since the trend is to move away from AWT to SWING based GUI components, this package may not get a lot of work done to it.

Several examples have been provided in the doc-files directory. Many of the examples which work as applets, can also be run from the command line (and support the command line options specified in the com.ccg.applet.AppletRunner#run method as well as their own special parameters). The examples include:

Demo.java
This example demonstrates the usage of a resource bundle DemoStrings.properties to produce GUI components which can be localized and adjusted based on property settins. To see the working applet, click here.
ImageDemo.java
This stand alone Java application demonstrates usage of the com.ccg.awt.ImageUtility and com.ccg.awt.RGBPixels classes. Of particular interest, it shows how one can load GIF/JPG images from a standard command line Java application.
ImageGenerator Class Overview
This document describes how the com.ccg.awt.ImageGenerator interface and com.ccg.awt.ImageGen class can be used to produce/manipulate bitmaps on the fly by interpretting bitmap filtering commands.
LoginDemo.java
This example (along with doc-files/LoginDemoStrings.properties) demonstrate usage of the com.ccg.awt.LoginPanel class.
ButtonViewer.java
Provides a GUI to set the numerous properties available for the com.ccg.awt.TallButton and com.ccg.awt.ImageButton push buttons and then populates a panel with buttons of the desired settings (it allows you to experiment with the settings for these types of buttons).
ButtonDemo.java
This example can be run as a stand alone application. To do this, you will need to specify a property file - something like: -properties ButtonDemo.properties. It can also be imbedded in a applet as ButtonDemo.html demonstrates.
Viewer.java
This example demonstrates usage of the com.ccg.awt.ImageViewer and com.ccg.awt.ImageHolder classes. This example can be run as a stand alone application via java Viewer. It can also be imbedded in a applet as Viewer.html demonstrates.

License/Use Information

The license text below the dashed line pertains to the "com/ccg" and
"com/include" libraries, documentation, executable binaries, and the
source code as distributed in this package by Paul Blankenbaker
(paul@mekwin.com).

------------------------------------------------------------------------------
This software is copyrighted by Paul Blankenbaker, Global
Atmospherics, Inc. and Unified Technologies, Inc., and other parties.
The following terms apply to all files associated with the software
unless explicitly disclaimed in individual files.

The authors hereby grant permission to use, copy, modify, distribute,
and license this software and its documentation for any purpose, provided
that existing copyright notices are retained in all copies and that this
notice is included verbatim in any distributions. No written agreement,
license, or royalty fee is required for any of the authorized uses.
Modifications to this software may be copyrighted by their authors
and need not follow the licensing terms described here, provided that
the new terms are clearly indicated on the first page of each file where
they apply.

IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.  THIS SOFTWARE
IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
MODIFICATIONS.

RESTRICTED RIGHTS: Use, duplication or disclosure by the government
is subject to the restrictions as set forth in subparagraph (c) (1) (ii)
of the Rights in Technical Data and Computer Software Clause as DFARS
252.227-7013 and FAR 52.227-19.



Copyright 1998-1998-2006 null. All Rights Reserved.