Nextwave Software Nextwave Gauge for Java Copyright (c) 2007-2010 Nextwave Software. All rights reserved. Nextwave Gauge Java Current Version: 1.0 Last Updated: 10/04/2010 Requirements: Java 1.6 SE and above Overview Thank you for downloading the Nextwave Gauge for Java. It is a Java component design to build circular gauge, linear gauge, digital dashboard, led and switch display. Licensing The component you've downloaded is fully functional versions. By using it, you are placed under the terms of the Evaluation License. Under this Evaluation License, you may only use the component for evaluation purposes else you must either remove all files associated with the component or purchase Nextwave Gauge for Java license for your project team members that directly or indirectly using this component. Under the terms of the Evaluation License, you may not distribute any of the files associated with the component. In order to distribute files marked as Redistributable below, you must purchase Netxwave Gauge for Java license. In this version of evaluation, water marks are displayed whenever the control is instantiated. This is removed upon the purchase of a Nextwave Gauge for Java license. All licenses for the component can be purchased securely on-line using any major credit card at Nextwave Software. Visit our web site for more details on licensing. Professional License After purchasing correct number of Professional License, your project team is allowed to work with the control beyond the Evaluation Period and enables your project members to distribute any of the files marked as Redistributable Royalty-Free. Each individual team member in a project using directly or indirectly on the component requires a copy of Professional License, whether they directly use the component or not! This means "one license for EVERY team member on the project", NOT "one license per developer using the component." After all, your entire project benefits by using the component. Site License Site License for Nextwave Gauge for Java can be used by any number of project team members provided they are in the same location or site. Site License with Source Code Site License with source code for Nextwave Gauge for Java can be used by any number of project team members provided they are in the same location or site. Enterprise License Enterprise License for Nextwave Gauge for Java can be used by any number of project team members regardless of their location or site. Enterprise License with Source Code Enterprise License with source code for Nextwave Gauge for Java can be used by any number of project team members regardless of their location or site. Installation To install and run a sample application for Nextwave Gauge for Java using Eclipse: 1. File -> Import 2. Select “Existing project into workspace” 3. Click next, and browse to. C:\Program Files\NextwaveSoftware\GaugeForJava \JavaGaugeSample 4. Select “JavaGaugeSample” 5. Click finish. Deploying Your Application To deploy an application that uses Nextwave Gauge for Java, simply copy the redistributable jar assemblies to your application classpath. Redistributable File(s) The product assemblies nextwavegaugeforjava-1.0.0.jar can be redistributed. The redistributable jar assemblies will be installed to this location by default: Documentation Complete documentation is available at the We also recommend you looking at the sample projects since they make use of much of the product's functionality. Support Nextwave Software has set up discussion forums specifically for suggestions and support requests for our components. You can find these discussion forums in at here Alternatively, you can also send a mail to
This e-mail address is being protected from spambots. You need JavaScript enabled to view it
|
|||||||
| Comments | 0 | Hits: 646 |
Download sample source code. Nextwave Led for java supports on, off and blinking state. There is a list of predefined led shapes in our gauge component. Besides, Nextwave Toggle Switch for java has overridden JCheckBox perfectly to support 3-states, which is Selected, Not-Selected and Dont-Care states. There are on focus indicator rendered as well. These switches are simulating the dampened switch in reality. When you toggle the switch up or down, it actually animate the dampenning effect! In our sample, we has demonstrated how to bind our toggle switch with Led in java.
|
|||||||
| Comments | 0 | Hits: 571 |
Download code sample of nextwave digital panel for java. Download code sample of nextwave linear gauge for java. You can configure most of the properties as precentage size of the gauge size in nextwave gauge for java. Hence, when you resize your panel or window, our gauge will resize automatically! Above is the example of horizontal linear gauge and digital panel gauge.
|
|||||||
| Comments | 0 | Hits: 592 |
Download sample source code. In order to simulate the real gauge, Nextwave Software has put much effort in adding realistic animation feaures for our Gauge written in Java. These include simulating the dampened needle, marker and range movements in Circular or Linear gauges. The Blinking and Scolling ability in Digital Panel. The flashing effect of LED and dampened toggling effect in Toggle Switch.It also supports insertion of inner component and gauge using GaugeItem. You can add a component by using use the X and Y coordinates to configure their position and its width and height. position is calculated from the center of the gauge. All components should be added to the gauge item collection. The custom tick is used to place a tick on any position between TickSetBase.Minimum and TickSetBase.Maximum. The example show how a custom tick is placed at value 0 (White) and 100 (Red). The custom label is used to place a label on any position between TickSetBase.Minimum and TickSetBase.Maximum. The example show how a custom label is placed at value 0 with the text set to C. The text is set to H at value 100. Last and not least, by configurating the size metric of gauge elements in percentage, you are now able to resize the gauge. It supports anti-alias too!
|
|||||||
| Comments | 1 | Hits: 1490 |
The following is the simplest way to create a java gauge. The first step starts with importing the class files into your java project. Firstly, we import the nextwave gauge for java libraries. import com.nextwavesoft.enumeration.*; import com.nextwavesoft.gauge.*; import com.nextwavesoft.primitives.*; import com.nextwavesoft.shared.*; Then, we initialize the java gauge object, in this case we initialize a circular java gauge. CircularGauge circularGauge = new CircularGauge(); circularGauge.setBackground(new Color(44,44,44)); circularGauge.setRimBrush(new Color(44,44,44)); circularGauge.setBackgroundType(CircularBackgroundType.CircularTopGradient); circularGauge.setBackgroundRadiusRatio(0.97); We begin to create a scale bar . Take note that the unit is in percentage . By default, the unit is absolute. Percentage allow gauge to resize when the control resize.
//Create circular scale which holds circular tickset. CircularScale circularScale = new CircularScale(); circularScale.setRadius(new Unit(74,UnitType.Percentage)); circularScale.setBarExtent(new Unit(2,UnitType.Percentage)); circularScale.setStartAngle(135); circularScale.setSweepAngle(270); Then, create circular tickset, which holds the tickSetCollection, pointerCollection and rangeCollection. //Create tickset which holds tick, range, marker and pointer. CircularTickSet circularTickSet = new CircularTickSet(); circularTickSet.setMinimum(0); circularTickSet.setMaximum(50); circularTickSet.setMinorInterval(2); circularTickSet.setMajorInterval(10); Then, continues to create tick mark major , tick mark minor and tick label major. //create tick mark minor CircularTickMarkMinor tickMarkMinor = new CircularTickMarkMinor(); tickMarkMinor.setTickMarkAscent(new Unit(0.5,UnitType.Percentage)); tickMarkMinor.setTickMarkExtent(new Unit(4,UnitType.Percentage)); tickMarkMinor.setBackground(Color.WHITE); tickMarkMinor.setScalePlacement(ScalePlacement.Inside); //create tick mark major CircularTickMarkMajor tickMarkMajor = new CircularTickMarkMajor(); tickMarkMajor.setTickMarkAscent(new Unit(1,UnitType.Percentage)); tickMarkMajor.setTickMarkExtent(new Unit(6,UnitType.Percentage)); tickMarkMajor.setBackground(Color.WHITE); tickMarkMajor.setScalePlacement(ScalePlacement.Inside); //create tick label major CircularTickLabelMajor tickLabelMajor = new CircularTickLabelMajor(); tickLabelMajor.setFontFamily("Verdana"); tickLabelMajor.setFontSize(new Unit(10,UnitType.Percentage)); tickLabelMajor.setForeground(Color.WHITE); tickLabelMajor.setOrientation(TextOrientation.Rotated); tickLabelMajor.setScalePlacement(ScalePlacement.Inside); tickLabelMajor.setScaleOffset(new Unit(5,UnitType.Percentage)); Then,creates a pointer needle and a pointer cap. //create pointer needle CircularPointerNeedle pointerNeedle = new CircularPointerNeedle(); pointerNeedle.setPointerExtent(new Unit(135,UnitType.Percentage)); pointerNeedle.setPointerAscent(new Unit(3,UnitType.Percentage)); pointerNeedle.setBackground(new Color(206,28,28)); pointerNeedle.setNeedleType(PointerNeedleType.PivotSwordSharp); CircularPointerCap pointerCap = new CircularPointerCap(); pointerCap.setPointerExtent(new Unit(25,UnitType.Percentage)); pointerCap.setBackground(new Color(163,28,28)); pointerCap.setCapType(PointerCapType.CircleConvex); Finally, we the gauge element into respective collection. circularTickSet.getCircularPointerCollection().add(pointerCap); circularTickSet.getCircularPointerCollection().add(pointerNeedle); circularTickSet.getCircularTickCollection().add(tickMarkMajor); circularTickSet.getCircularTickCollection().add(tickMarkMinor); circularTickSet.getCircularTickCollection().add(tickLabelMajor); circularScale.getCircularTickSetCollection().add(circularTickSet); circularGauge.getCircularScaleCollection().add(circularScale);
|
|||||||
| Comments | 0 | Hits: 529 |
| < | February 2012 | > | ||||
| Mo | Tu | We | Th | Fr | Sa | Su |
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | ||||