* =========================================================== 003 * ===========================================================

Size: px
Start display at page:

Download "* =========================================================== 003 * ==========================================================="

Transcription

1 C:/jfreechart-1.0.2/jfreechart-1.0.2/source/org/jfree/chart/renderer/category/GanttRenderer.java, Top line: / =========================================================== 002 JFreeChart : a free chart library for the Java(tm) platform 003 =========================================================== (C) Copyright , by Object Refinery Limited and Contributors Project Info: This library is free software; you can redistribute it and/or modify it 010 under the terms of the GNU Lesser General Public License as published by 011 the Free Software Foundation; either version 2.1 of the License, or 012 (at your option) any later version This library is distributed in the hope that it will be useful, but 015 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 016 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public 017 License for more details You should have received a copy of the GNU Lesser General Public 020 License along with this library; if not, write to the Free Software 021 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA , 022 USA [Java is a trademark or registered trademark of Sun Microsystems, Inc. 025 in the United States and other countries.] GanttRenderer.java (C) Copyright , by Object Refinery Limited Original Author: David Gilbert (for Object Refinery Limited 033 Contributor(s): -; Changes Sep-2003 : Version 1 (DG Sep-2003 : Fixed Checkstyle issues (DG Oct-2003 : Bar width moved into CategoryItemRendererState (DG Feb-2004 : Added get/set methods for attributes (DG Aug-2004 : Fixed rendering problem with maxbarwidth attribute (DG Nov-2004 : Modified drawitem() signature (DG Apr-2005 : Renamed CategoryLabelGenerator > CategoryItemLabelGenerator (DG Dec-2005 : Fix for bug , drawbaroutline flag ignored (DG Jan-2006 : Set includebaseinrange flag to false (DG / package org.jfree.chart.renderer.category; import java.awt.color; 055 import java.awt.graphics2d; 056 import java.awt.paint; 057 import java.awt.stroke; 058 import java.awt.geom.rectangle2d; 059 import java.io.serializable; import org.jfree.chart.axis.categoryaxis; 062 import org.jfree.chart.axis.valueaxis; 063 import org.jfree.chart.entity.categoryitementity; 064 import org.jfree.chart.entity.entitycollection; 065 import org.jfree.chart.event.rendererchangeevent; 066 import org.jfree.chart.labels.categoryitemlabelgenerator; 067 import org.jfree.chart.labels.categorytooltipgenerator; 068 import org.jfree.chart.plot.categoryplot; line: / =========================================================== JFreeChart : a free chart library for the Java(tm) platform =========================================================== (C) Copyright , by Object Refinery Limited and Contributors. Project Info: This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA , USA. [Java is a trademark or registered trademark of Sun Microsystems, Inc. in the United States and other countries.] GanttRenderer.java (C) Copyright , by Object Refinery Limited. Original Author: David Gilbert (for Object Refinery Limited Contributor(s): -; Changes Sep-2003 : Version 1 (DG 23-Sep-2003 : Fixed Checkstyle issues (DG 21-Oct-2003 : Bar width moved into CategoryItemRendererState (DG 03-Feb-2004 : Added get/set methods for attributes (DG 12-Aug-2004 : Fixed rendering problem with maxbarwidth attribute (DG 05-Nov-2004 : Modified drawitem() signature (DG 20-Apr-2005 : Renamed CategoryLabelGenerator --> CategoryItemLabelGenerator (DG 01-Dec-2005 : Fix for bug , drawbaroutline flag ignored (DG 17-Jan-2006 : Set includebaseinrange flag to false (DG / package org.jfree.chart.renderer.category; import java.awt.; import java.awt.geom.rectangle2d; import java.io.serializable; import org.jfree.chart.axis.categoryaxis; import org.jfree.chart.axis.valueaxis; import org.jfree.chart.entity.categoryitementity; import org.jfree.chart.entity.entitycollection; import org.jfree.chart.event.rendererchangeevent; import org.jfree.chart.labels.categoryitemlabelgenerator; import org.jfree.chart.labels.categorytooltipgenerator; import org.jfree.chart.plot.categoryplot; 1/9

2 C:/jfreechart-1.0.2/jfreechart-1.0.2/source/org/jfree/chart/renderer/category/GanttRenderer.java, Top line: import org.jfree.chart.plot.plotorientation; 070 import org.jfree.data.category.categorydataset; 071 import org.jfree.data.gantt.ganttcategorydataset; 072 import org.jfree.ui.rectangleedge; / 075 A renderer for simple Gantt charts. 076 / 077 public class GanttRenderer extends IntervalBarRenderer 078 implements Serializable { / For serialization. / 081 private static final long serialversionuid = L; / The paint for displaying the percentage complete. / 084 private Paint completepaint; / The paint for displaying the incomplete part of a task. / 087 private Paint incompletepaint; / 090 Controls the starting edge of the progress indicator (expressed as a 091 percentage of the overall bar width). 092 / 093 private double startpercent; / 096 Controls the ending edge of the progress indicator (expressed as a 097 percentage of the overall bar width). 098 / 099 private double endpercent; / 102 Creates a new renderer. 103 / 104 public GanttRenderer() { 105 super( 106 setincludebaseinrange(false 107 this.completepaint = Color.green; 108 this.incompletepaint = Color.red; 109 this.startpercent = 0.35; 110 this.endpercent = 0.65; / 114 Returns the paint used to show the percentage complete. 115 The paint (never <code>null</code>. 117 / 118 public Paint getcompletepaint() { 119 return this.completepaint; / 123 Sets the paint used to show the percentage complete and sends a 124 {@link RendererChangeEvent to all registered listeners. 125 paint the paint (<code>null</code> not permitted). 127 / 128 public void setcompletepaint(paint paint) { 129 if (paint == null) { 130 throw new IllegalArgumentException("Null 'paint' argument." this.completepaint = paint; 133 notifylisteners(new RendererChangeEvent(this) 134 line: import org.jfree.chart.plot.plotorientation; 067 import org.jfree.data.category.categorydataset; 068 import org.jfree.data.gantt.ganttcategorydataset; 069 import org.jfree.data.gantt.task; 070 import org.jfree.ui.rectangleedge; 071 import org.jfree.util.shapeutilities; / 074 A renderer for simple Gantt charts. 075 / 076 public class GanttRenderer extends IntervalBarRenderer 077 implements Serializable { / For serialization. / 080 private static final long serialversionuid = L; / The paint for displaying the percentage complete. / 083 private Paint completepaint; / The paint for displaying the incomplete part of a task. / 086 private Paint incompletepaint; / 089 Controls the starting edge of the progress indicator (expressed as a 090 percentage of the overall bar width). 091 / 092 private double startpercent; / 095 Controls the ending edge of the progress indicator (expressed as a 096 percentage of the overall bar width). 097 / 098 private double endpercent; / 101 Creates a new renderer. 102 / 103 public GanttRenderer() { 104 super( 105 setincludebaseinrange(false 106 this.completepaint = Color.green; 107 this.incompletepaint = Color.red; 108 this.startpercent = 0.35; 109 this.endpercent = 0.65; / 113 Returns the paint used to show the percentage complete. 114 The paint (never <code>null</code>. 116 / 117 public Paint getcompletepaint() { 118 return this.completepaint; / 122 Sets the paint used to show the percentage complete and sends a 123 {@link RendererChangeEvent to all registered listeners. 124 paint the paint (<code>null</code> not permitted). 126 / 127 public void setcompletepaint(paint paint) { 128 if (paint == null) { 129 throw new IllegalArgumentException("Null 'paint' argument." this.completepaint = paint; 132 notifylisteners(new RendererChangeEvent(this) 133 2/9

3 C:/jfreechart-1.0.2/jfreechart-1.0.2/source/org/jfree/chart/renderer/category/GanttRenderer.java, Top line: / 137 Returns the paint used to show the percentage incomplete. 138 The paint (never <code>null</code>). 140 / 141 public Paint getincompletepaint() { 142 return this.incompletepaint; / 146 Sets the paint used to show the percentage incomplete and sends a 147 {@link RendererChangeEvent to all registered listeners. 148 paint the paint (<code>null</code> not permitted). 150 / 151 public void setincompletepaint(paint paint) { 152 if (paint == null) { 153 throw new IllegalArgumentException("Null 'paint' argument." this.incompletepaint = paint; 156 notifylisteners(new RendererChangeEvent(this) / 160 Returns the position of the start of the progress indicator, as a 161 percentage of the bar width. 162 The start percent. 164 / 165 public double getstartpercent() { 166 return this.startpercent; / 170 Sets the position of the start of the progress indicator, as a 171 percentage of the bar width. 172 percent the percent. 174 / 175 public void setstartpercent(double percent) { 176 this.startpercent = percent; 177 notifylisteners(new RendererChangeEvent(this) / 181 Returns the position of the end of the progress indicator, as a 182 percentage of the bar width. 183 The end percent. 185 / 186 public double getendpercent() { 187 return this.endpercent; / 191 Sets the position of the end of the progress indicator, as a percentage 192 of the bar width. 193 percent the percent. 195 / 196 public void setendpercent(double percent) { 197 this.endpercent = percent; 198 notifylisteners(new RendererChangeEvent(this) / 202 Draws the bar for a single (series, category) data item. line: / 136 Returns the paint used to show the percentage incomplete. 137 The paint (never <code>null</code>). 139 / 140 public Paint getincompletepaint() { 141 return this.incompletepaint; / 145 Sets the paint used to show the percentage incomplete and sends a 146 {@link RendererChangeEvent to all registered listeners. 147 paint the paint (<code>null</code> not permitted). 149 / 150 public void setincompletepaint(paint paint) { 151 if (paint == null) { 152 throw new IllegalArgumentException("Null 'paint' argument." this.incompletepaint = paint; 155 notifylisteners(new RendererChangeEvent(this) / 159 Returns the position of the start of the progress indicator, as a 160 percentage of the bar width. 161 The start percent. 163 / 164 public double getstartpercent() { 165 return this.startpercent; / 169 Sets the position of the start of the progress indicator, as a 170 percentage of the bar width. 171 percent the percent. 173 / 174 public void setstartpercent(double percent) { 175 this.startpercent = percent; 176 notifylisteners(new RendererChangeEvent(this) / 180 Returns the position of the end of the progress indicator, as a 181 percentage of the bar width. 182 The end percent. 184 / 185 public double getendpercent() { 186 return this.endpercent; / 190 Sets the position of the end of the progress indicator, as a percentage 191 of the bar width. 192 percent the percent. 194 / 195 public void setendpercent(double percent) { 196 this.endpercent = percent; 197 notifylisteners(new RendererChangeEvent(this) / 201 Draws the bar for a single (series, category) data item. 3/9

4 C:/jfreechart-1.0.2/jfreechart-1.0.2/source/org/jfree/chart/renderer/category/GanttRenderer.java, Top line: g2 the graphics device. state the renderer state. dataarea the data area. plot the plot. domainaxis the domain axis. rangeaxis the range axis. dataset the dataset. row the row index (zero-based). column the column index (zero-based). pass the pass index. 214 / 215 public void drawitem(graphics2d g2, CategoryDataset dataset, int column, 224 int pass) { if (dataset instanceof GanttCategoryDataset) { 227 GanttCategoryDataset gcd = (GanttCategoryDataset) dataset; 228 drawtasks( 229 g2, state, dataarea, plot, domainaxis, rangeaxis, gcd, else { // let the superclass handle it super.drawitem( 235 g2, state, dataarea, plot, domainaxis, rangeaxis, 236, pass / 243 Draws the tasks/subtasks for one item. 244 g2 the graphics device. state the renderer state. dataarea the data plot area. plot the plot. domainaxis the domain axis. rangeaxis the range axis. dataset the data. row the row index (zero-based). column the column index (zero-based). 254 / 255 protected void drawtasks(graphics2d g2, GanttCategoryDataset dataset, int column) { int count = dataset.getsubintervalcount( 266 if (count == 0) { 267 drawtask( 268 g2, state, dataarea, plot, domainaxis, rangeaxis, line: g2 the graphics device. state the renderer state. dataarea the data area. plot the plot. domainaxis the domain axis. rangeaxis the range axis. dataset the dataset. row the row index (zero-based). column the column index (zero-based). pass the pass index. 213 / 214 public void drawitem(graphics2d g2, CategoryDataset dataset, int column, 223 int pass) { if (dataset instanceof GanttCategoryDataset) { 226 GanttCategoryDataset gcd = (GanttCategoryDataset) dataset; 227 drawtasks( 228 g2, state, dataarea, plot, domainaxis, rangeaxis, gcd, else { // let the superclass handle it super.drawitem( 234 g2, state, dataarea, plot, domainaxis, rangeaxis, 235, pass / 242 Draws the tasks/subtasks for one item. 243 g2 the graphics device. state the renderer state. dataarea the data plot area. plot the plot. domainaxis the domain axis. rangeaxis the range axis. dataset the data. row the row index (zero-based). column the column index (zero-based). 253 / 254 protected void drawtasks(graphics2d g2, GanttCategoryDataset dataset, int column) { int count = dataset.getsubintervalcount( 265 if (count == 0) { 266 drawtask( 267 g2, state, dataarea, plot, domainaxis, rangeaxis, /9

5 C:/jfreechart-1.0.2/jfreechart-1.0.2/source/org/jfree/chart/renderer/category/GanttRenderer.java, Top line: for (int subinterval = 0; subinterval < count; subinterval++) { RectangleEdge rangeaxislocation = plot.getrangeaxisedge( // value Number value0 = dataset.getstartvalue(, subinterval 279 if (value0 == null) { double translatedvalue0 = rangeaxis.valuetojava2d( 283 value0.doublevalue(), dataarea, rangeaxislocation // value Number value1 = dataset.getendvalue(, subinterval 288 if (value1 == null) { double translatedvalue1 = rangeaxis.valuetojava2d( 292 value1.doublevalue(), dataarea, rangeaxislocation if (translatedvalue1 < translatedvalue0) { 296 double temp = translatedvalue1; 297 translatedvalue1 = translatedvalue0; 298 translatedvalue0 = temp; double rectstart = calculatebarw0( 302 plot, plot.getorientation(), dataarea, domainaxis, state, double rectlength = Math.abs(translatedValue1 - translatedvalue0 306 double rectbreadth = state.getbarwidth( // DRAW THE BARS Rectangle2D bar = null; translatedvalue0, rectstart, rectlength, rectbreadth rectstart, translatedvalue0, rectbreadth, rectlength Rectangle2D completebar = null; 323 Rectangle2D incompletebar = null; 324 Number percent = dataset.getpercentcomplete( 325, subinterval double start = getstartpercent( 328 double end = getendpercent( 329 if (percent!= null) { 330 double p = percent.doublevalue( translatedvalue0, rectlength p, 336 rectbreadth (end - start) line: for (int subinterval = 0; subinterval < count; subinterval++) { RectangleEdge rangeaxislocation = plot.getrangeaxisedge( // value Number value0 = dataset.getstartvalue(, subinterval 278 if (value0 == null) { double translatedvalue0 = rangeaxis.valuetojava2d( 282 value0.doublevalue(), dataarea, rangeaxislocation // value Number value1 = dataset.getendvalue(, subinterval 287 if (value1 == null) { double translatedvalue1 = rangeaxis.valuetojava2d( 291 value1.doublevalue(), dataarea, rangeaxislocation if (translatedvalue1 < translatedvalue0) { 295 double temp = translatedvalue1; 296 translatedvalue1 = translatedvalue0; 297 translatedvalue0 = temp; double rectstart = calculatebarw0( 301 plot, plot.getorientation(), dataarea, domainaxis, state, double rectlength = Math.abs(translatedValue1 - translatedvalue0 305 double rectbreadth = state.getbarwidth( // DRAW THE BARS Rectangle2D bar = null; translatedvalue0, rectstart, rectlength, rectbreadth rectstart, translatedvalue0, rectbreadth, rectlength Rectangle2D completebar = null; 322 Rectangle2D incompletebar = null; 323 Number percent = dataset.getpercentcomplete( 324, subinterval double start = getstartpercent( 327 double end = getendpercent( 328 if (percent!= null) { 329 double p = percent.doublevalue( translatedvalue0, rectlength p, 335 rectbreadth (end - start) /9

6 C:/jfreechart-1.0.2/jfreechart-1.0.2/source/org/jfree/chart/renderer/category/GanttRenderer.java, Top line: translatedvalue0 + rectlength p, rectlength (1 - p), 342 rectbreadth (end - start) translatedvalue0 + rectlength (1 - p), 349 rectbreadth (end - start), 350 rectlength p translatedvalue0, 355 rectbreadth (end - start), 356 rectlength (1 - p) Paint seriespaint = getitempaint( 363 g2.setpaint(seriespaint 364 g2.fill(bar 365 if (completebar!= null) { 366 g2.setpaint(getcompletepaint() 367 g2.fill(completebar if (incompletebar!= null) { 370 g2.setpaint(getincompletepaint() 371 g2.fill(incompletebar if (isdrawbaroutline() 374 && state.getbarwidth() > BAR_OUTLINE_WIDTH_THRESHOLD) { 375 g2.setstroke(getitemstroke() 376 g2.setpaint(getitemoutlinepaint() 377 g2.draw(bar // collect entity and tool tip information if (state.getinfo()!= null) { 382 EntityCollection entities = state.getentitycollection( 383 if (entities!= null) { 384 String tip = null; 385 if (gettooltipgenerator()!= null) { 386 tip = gettooltipgenerator().generatetooltip( String url = null; 391 if (getitemurlgenerator()!= null) { 392 url = getitemurlgenerator().generateurl( CategoryItemEntity entity = new CategoryItemEntity( 397 bar, tip, url, dataset, row, 398 dataset.getcolumnkey(column), column entities.add(entity / line: translatedvalue0 + rectlength p, rectlength (1 - p), 341 rectbreadth (end - start) translatedvalue0 + rectlength (1 - p), 348 rectbreadth (end - start), 349 rectlength p translatedvalue0, 354 rectbreadth (end - start), 355 rectlength (1 - p) Paint seriespaint = getitempaint( 362 g2.setpaint(seriespaint 363 g2.fill(bar 364 if (completebar!= null) { 365 g2.setpaint(getcompletepaint() 366 g2.fill(completebar if (incompletebar!= null) { 369 g2.setpaint(getincompletepaint() 370 g2.fill(incompletebar if (isdrawbaroutline() 373 && state.getbarwidth() > BAR_OUTLINE_WIDTH_THRESHOLD) { 374 g2.setstroke(getitemstroke() 375 g2.setpaint(getitemoutlinepaint() 376 g2.draw(bar // collect entity and tool tip information if (state.getinfo()!= null) { 381 EntityCollection entities = state.getentitycollection( 382 if (entities!= null) { 383 String tip = null; 384 if (gettooltipgenerator()!= null) { 385 tip = gettooltipgenerator().generatetooltip( String url = null; 390 if (getitemurlgenerator()!= null) { 391 url = getitemurlgenerator().generateurl( CategoryItemEntity entity = new CategoryItemEntity( 396 bar, tip, url, dataset, row, 397 dataset.getcolumnkey(column), column entities.add(entity / 6/9

7 C:/jfreechart-1.0.2/jfreechart-1.0.2/source/org/jfree/chart/renderer/category/GanttRenderer.java, Top line: Draws a single task. 408 g2 the graphics device. state the renderer state. dataarea the data plot area. plot the plot. domainaxis the domain axis. rangeaxis the range axis. dataset the data. row the row index (zero-based). column the column index (zero-based). 418 / 419 protected void drawtask(graphics2d g2, GanttCategoryDataset dataset, int column) { PlotOrientation orientation = plot.getorientation( RectangleEdge rangeaxislocation = plot.getrangeaxisedge( // Y0 434 Number value0 = dataset.getendvalue( 435 if (value0 == null) { double java2dvalue0 = rangeaxis.valuetojava2d( 439 value0.doublevalue(), dataarea, rangeaxislocation // Y1 443 Number value1 = dataset.getstartvalue( 444 if (value1 == null) { double java2dvalue1 = rangeaxis.valuetojava2d( 448 value1.doublevalue(), dataarea, rangeaxislocation if (java2dvalue1 < java2dvalue0) { 452 double temp = java2dvalue1; 453 java2dvalue1 = java2dvalue0; 454 java2dvalue0 = temp; 455 Number tempnum = value1; 456 value1 = value0; 457 value0 = tempnum; double rectstart = calculatebarw0( 461 plot, orientation, dataarea, domainaxis, state, double rectbreadth = state.getbarwidth( 464 double rectlength = Math.abs(java2dValue1 - java2dvalue Rectangle2D bar = null; 467 if (orientation == PlotOrientation.HORIZONTAL) { line: Draws a single task. 407 g2 the graphics device. state the renderer state. dataarea the data plot area. plot the plot. domainaxis the domain axis. rangeaxis the range axis. dataset the data. row the row index (zero-based). column the column index (zero-based). 417 / 418 protected void drawtask(graphics2d g2, GanttCategoryDataset dataset, int column) { PlotOrientation orientation = plot.getorientation( RectangleEdge rangeaxislocation = plot.getrangeaxisedge( // Y0 433 Number value0 = dataset.getendvalue( 434 if (value0 == null) { double java2dvalue0 = rangeaxis.valuetojava2d( 438 value0.doublevalue(), dataarea, rangeaxislocation // Y1 442 Number value1 = dataset.getstartvalue( 443 if (value1 == null) { double java2dvalue1 = rangeaxis.valuetojava2d( 447 value1.doublevalue(), dataarea, rangeaxislocation if (java2dvalue1 < java2dvalue0) { 451 double temp = java2dvalue1; 452 java2dvalue1 = java2dvalue0; 453 java2dvalue0 = temp; 454 Number tempnum = value1; 455 value1 = value0; 456 value0 = tempnum; Task task= dataset.gettask( double rectstart = (task.issummarytask() task.ismilestone()) 462? calculatesummarytaskbarw0(plot, orientation, dataarea, 463 domainaxis, state, ) : calculatebarw0(plot, 464 orientation, dataarea, domainaxis, state, 465 double rectbreadth = (task.issummarytask() task.ismilestone()) 466? state.getbarwidth() / 2 : state.getbarwidth( 467 double rectlength = Math.abs(java2dValue1 - java2dvalue Rectangle2D bar = null; 470 if (orientation == PlotOrientation.HORIZONTAL) { 471 if (task.ismilestone()) { java2dvalue0, rectstart, rectbreadth, rectbreadth 7/9

8 C:/jfreechart-1.0.2/jfreechart-1.0.2/source/org/jfree/chart/renderer/category/GanttRenderer.java, Top line: java2dvalue0, rectstart, rectlength, rectbreadth else if (orientation == PlotOrientation.VERTICAL) { rectstart, java2dvalue1, rectbreadth, rectlength Rectangle2D completebar = null; Rectangle2D incompletebar = null; Number percent = dataset.getpercentcomplete( double start = getstartpercent( double end = getendpercent( if (percent!= null) { double p = percent.doublevalue( java2dvalue0, rectlength p, rectbreadth (end - start) java2dvalue0 + rectlength p, rectlength (1 - p), rectbreadth (end - start) java2dvalue1 + rectlength (1 - p), rectbreadth (end - start), rectlength p java2dvalue1, rectbreadth (end - start), rectlength (1 - p) Paint seriespaint = getitempaint( g2.setpaint(seriespaint g2.fill(bar line: else { java2dvalue0, rectstart, rectlength, rectbreadth else if (orientation == PlotOrientation.VERTICAL) { 481 if (task.ismilestone()) { rectstart, java2dvalue1, rectbreadth, rectbreadth else { rectstart, java2dvalue1, rectbreadth, rectlength Rectangle2D completebar = null; 493 Rectangle2D incompletebar = null; 494 Number percent = dataset.getpercentcomplete( 495 double start = getstartpercent( 496 double end = getendpercent( 497 if (percent!= null &&!task.issummarytask() &&!task.ismilestone()) { 498 double p = percent.doublevalue( java2dvalue0, rectlength p, 504 rectbreadth (end - start) java2dvalue0 + rectlength p, rectlength (1 - p), 510 rectbreadth (end - start) java2dvalue1 + rectlength (1 - p), 517 rectbreadth (end - start), 518 rectlength p java2dvalue1, 523 rectbreadth (end - start), 524 rectlength (1 - p) if (task.issummarytask()) { 531 g2.setcolor(color.black 532 g2.fill(bar 533 else if (task.ismilestone()) { 534 g2.setcolor(color.black 535 g2.fill(shapeutilities.rotateshape(bar, Math.toRadians(45), 536 (float) java2dvalue0, (float) rectstart) 537 else { 538 Paint seriespaint = getitempaint( 539 g2.setpaint(seriespaint 540 g2.fill(bar 541 8/9

9 C:/jfreechart-1.0.2/jfreechart-1.0.2/source/org/jfree/chart/renderer/category/GanttRenderer.java, Top line: if (completebar!= null) { g2.setpaint(getcompletepaint() g2.fill(completebar if (incompletebar!= null) { g2.setpaint(getincompletepaint() g2.fill(incompletebar // draw the outline... if (isdrawbaroutline() && state.getbarwidth() > BAR_OUTLINE_WIDTH_THRESHOLD) { Stroke stroke = getitemoutlinestroke( Paint paint = getitemoutlinepaint( if (stroke!= null && paint!= null) { g2.setstroke(stroke g2.setpaint(paint g2.draw(bar CategoryItemLabelGenerator generator = getitemlabelgenerator( if (generator!= null && isitemlabelvisible()) { drawitemlabel( g2,, plot, generator, bar, false // collect entity and tool tip information... if (state.getinfo()!= null) { EntityCollection entities = state.getentitycollection( if (entities!= null) { String tip = null; CategoryToolTipGenerator tipster = gettooltipgenerator( if (tipster!= null) { tip = tipster.generatetooltip( String url = null; if (getitemurlgenerator()!= null) { url = getitemurlgenerator().generateurl( CategoryItemEntity entity = new CategoryItemEntity( bar, tip, url, dataset, row, dataset.getcolumnkey(column), column entities.add(entity line: if (completebar!= null) { 544 g2.setpaint(getcompletepaint() 545 g2.fill(completebar if (incompletebar!= null) { 548 g2.setpaint(getincompletepaint() 549 g2.fill(incompletebar // draw the outline if (isdrawbaroutline() 554 && state.getbarwidth() > BAR_OUTLINE_WIDTH_THRESHOLD) { 555 Stroke stroke = getitemoutlinestroke( 556 Paint paint = getitemoutlinepaint( 557 if (stroke!= null && paint!= null) { 558 g2.setstroke(stroke 559 g2.setpaint(paint 560 if (task.ismilestone()) { 561 g2.draw(shapeutilities.rotateshape(bar, Math.toRadians(45), 562 (float) java2dvalue0, (float) rectstart) 563 else { 564 g2.draw(bar CategoryItemLabelGenerator generator 570 = getitemlabelgenerator( 571 if (generator!= null && isitemlabelvisible()) { 572 drawitemlabel( 573 g2,, plot, generator, bar, false // collect entity and tool tip information if (state.getinfo()!= null) { 579 EntityCollection entities = state.getentitycollection( 580 if (entities!= null) { 581 String tip = null; 582 CategoryToolTipGenerator tipster = gettooltipgenerator( if (tipster!= null) { 586 tip = tipster.generatetooltip( String url = null; 589 if (getitemurlgenerator()!= null) { 590 url = getitemurlgenerator().generateurl( CategoryItemEntity entity = new CategoryItemEntity( 595 bar, tip, url, dataset, row, 596 dataset.getcolumnkey(column), column entities.add(entity /9

* =========================================================== 0003 * ===========================================================

* =========================================================== 0003 * =========================================================== C:/jfreechart-1.0.2/jfreechart-1.0.2/source/org/jfree/chart/renderer/category/BarRenderer.java, Top line: 1 0001 / =========================================================== 0002 JFreeChart : a free chart

More information

Putting the 'Free' into JFreeChart

Putting the 'Free' into JFreeChart Putting the 'Free' into JFreeChart 25 February 2006 Dave Gilbert JFreeChart Project Leader Overview The Java Trap; JFreeChart; Java2D (Graphics2D); The Free Stack: Cairo (CairoGraphics2D); GNU Classpath;

More information

Number Song Names by Play Order v2.0

Number Song Names by Play Order v2.0 Number Song Names by Play Order v2.0 AppleScript for itunes Find more free AppleScripts and info on writing your own at Doug's AppleScripts for itunes. This script will prefix each selected track's Song

More information

Exercise(s) Solution(s) to the exercise(s)

Exercise(s) Solution(s) to the exercise(s) Exercise(s) Problem 1. Counting configurations Consider two different types of atoms, say A and B (represented by red and blue, respectively in the figures). Let A atoms and B atoms be distributed on N

More information

Make Video PDF Booklet v1.0

Make Video PDF Booklet v1.0 Make Video PDF Booklet v1.0 AppleScript for itunes Find more free AppleScripts and info on writing your own at Doug's AppleScripts for itunes. This script will create a PDF booklet containing video-oriented

More information

3. EXCEL FORMULAS & TABLES

3. EXCEL FORMULAS & TABLES Winter 2019 CS130 - Excel Formulas & Tables 1 3. EXCEL FORMULAS & TABLES Winter 2019 Winter 2019 CS130 - Excel Formulas & Tables 2 Cell References Absolute reference - refer to cells by their fixed position.

More information

Selected Tags to Lyrics v1.1

Selected Tags to Lyrics v1.1 Selected Tags to Lyrics v1.1 AppleScript for itunes Find more free AppleScripts and info on writing your own at Doug's AppleScripts for itunes. Primarily for iphone and ipod Touch users, this script will

More information

Open2Test Test Automation Framework for SilkTest - Coding Standards for Developers

Open2Test Test Automation Framework for SilkTest - Coding Standards for Developers Open2Test Test Automation Framework for SilkTest - Coding Standards for Developers Version 1.0 January 2010 DISCLAIMER Verbatim copying and distribution of this entire article is permitted worldwide, without

More information

Open Source Used In c1101 and c1109 Cisco IOS XE Fuji

Open Source Used In c1101 and c1109 Cisco IOS XE Fuji Open Source Used In c1101 and c1109 Cisco IOS XE Fuji 16.8.1 Cisco Systems, Inc. www.cisco.com Cisco has more than 200 offices worldwide. Addresses, phone numbers, and fax numbers are listed on the Cisco

More information

Demo problem: Solution of a "free-boundary" Poisson problem in an "elastic" domain revisited -- this time with AlgebraicElements

Demo problem: Solution of a free-boundary Poisson problem in an elastic domain revisited -- this time with AlgebraicElements Chapter 1 Demo problem: Solution of a "free-boundary" Poisson problem in an "elastic" domain revisited -- this time with AlgebraicElements Detailed documentation to be written. Here s a plot of the result

More information

finger-user-enum User Documentation

finger-user-enum User Documentation finger-user-enum User Documentation pentestmonkey@pentestmonkey.net 21 January 2007 Contents 1 Overview 2 2 Installation 2 3 Usage 3 4 Some Examples 3 4.1 Normal Usage............................. 4 4.2

More information

Generating Charts in PDF Format with JFreeChart and itext

Generating Charts in PDF Format with JFreeChart and itext Generating Charts in PDF Format with JFreeChart and itext Written by David Gilbert May 28, 2002 c 2002, Simba Management Limited. All rights reserved. Everyone is permitted to copy and distribute verbatim

More information

Excel Functions & Tables

Excel Functions & Tables Excel Functions & Tables SPRING 2016 Spring 2016 CS130 - EXCEL FUNCTIONS & TABLES 1 Review of Functions Quick Mathematics Review As it turns out, some of the most important mathematics for this course

More information

LoadMaster VMware Horizon (with View) 6. Deployment Guide

LoadMaster VMware Horizon (with View) 6. Deployment Guide LoadMaster VMware Horizon (with View) 6 Deployment Guide VERSION: 6.0 UPDATED: MARCH 2016 Copyright Notices Copyright 2002-2016 KEMP Technologies, Inc.. All rights reserved.. KEMP Technologies and the

More information

Moodle. Moodle. Deployment Guide

Moodle. Moodle. Deployment Guide Moodle Deployment Guide VERSION: 6.0 UPDATED: MARCH 2016 Copyright Notices Copyright 2002-2016 KEMP Technologies, Inc.. All rights reserved.. KEMP Technologies and the KEMP Technologies logo are registered

More information

ECSE 321 Assignment 2

ECSE 321 Assignment 2 ECSE 321 Assignment 2 Instructions: This assignment is worth a total of 40 marks. The assignment is due by noon (12pm) on Friday, April 5th 2013. The preferred method of submission is to submit a written

More information

JBoss ESB 4.2 Milestone Release 1

JBoss ESB 4.2 Milestone Release 1 JBoss ESB 4.2 Milestone Release 1 Release Notes JBESB-RN-3/23/07 JBESB-RN-3/23/07 Legal Notices The information contained in this documentation is subject to change without notice. JBoss Inc. makes no

More information

Composite Pattern - Shapes Example - Java Sourcecode

Composite Pattern - Shapes Example - Java Sourcecode Composite Pattern - Shapes Example - Java Sourcecode In graphics editors a shape can be basic or complex. An example of a simple shape is a line, where a complex shape is a rectangle which is made of four

More information

JBoss ESB 4.2 GA. Monitoring Guide JBESB-MG-9/5/07 JBESB-TB-9/5/07

JBoss ESB 4.2 GA. Monitoring Guide JBESB-MG-9/5/07 JBESB-TB-9/5/07 JBoss ESB 4.2 GA Monitoring Guide JBESB-MG-9/5/07 JBESB-TB-9/5/07 Legal Notices The information contained in this documentation is subject to change without notice. JBoss Inc. makes no warranty of any

More information

This reference has been prepared for beginners to help them understand the basic-toadvanced concepts related to JFreeChart library.

This reference has been prepared for beginners to help them understand the basic-toadvanced concepts related to JFreeChart library. About the Tutorial This tutorial describes various ways to incorporate JFreeChart in Java-based standalone and web-based applications. The tutorial is categorized into various chapters to provide a comprehensive

More information

Declarations and Access Control SCJP tips

Declarations and Access Control  SCJP tips Declarations and Access Control www.techfaq360.com SCJP tips Write code that declares, constructs, and initializes arrays of any base type using any of the permitted forms both for declaration and for

More information

JBoss Transactions 4.2.2

JBoss Transactions 4.2.2 JBoss Transactions 4.2.2 Release Notes JBTS-RN-11/3/06 JBTS-RN-11/3/06 i Legal Notices The information contained in this documentation is subject to change without notice. JBoss Inc. makes no warranty

More information

VST Preset Generator Documentation. François Mazen V0.2.8

VST Preset Generator Documentation. François Mazen V0.2.8 VST Preset Generator Documentation François Mazen V0.2.8 Table of Contents Installation................................................................................. 1 Overview..................................................................................

More information

JBoss ESB 4.2 Milestone Release 1

JBoss ESB 4.2 Milestone Release 1 JBoss ESB 4.2 Milestone Release 1 Content Based Routing JBESB-CBR-3/23/07 JBESB-CBR-3/23/07 Legal Notices The information contained in this documentation is subject to change without notice. JBoss Inc.

More information

JBossESB GA. Service Orchestration Guide JBESB-SOG-10/31/07

JBossESB GA. Service Orchestration Guide JBESB-SOG-10/31/07 JBossESB 4.2.1 GA Service Orchestration Guide JBESB-SOG-10/31/07 JBESB-SOG-10/31/07 Legal Notices The information contained in this documentation is subject to change without notice. JBoss Inc. makes

More information

JBoss ESB 4.0 GA RC1. Message Transformation Guide JBESB-MTG-12/1/06 JBESB-PG-12/1/06

JBoss ESB 4.0 GA RC1. Message Transformation Guide JBESB-MTG-12/1/06 JBESB-PG-12/1/06 JBoss ESB 4.0 GA RC1 Message Transformation Guide JBESB-MTG-12/1/06 JBESB-PG-12/1/06 i JBESB-PG-12/1/06 ii Legal Notices The information contained in this documentation is subject to change without notice.

More information

Migration Tool. Migration Tool (Beta) Technical Note

Migration Tool. Migration Tool (Beta) Technical Note Migration Tool (Beta) Technical Note VERSION: 6.0 UPDATED: MARCH 2016 Copyright Notices Copyright 2002-2016 KEMP Technologies, Inc.. All rights reserved.. KEMP Technologies and the KEMP Technologies logo

More information

GChemTable manual. GChemTable manual

GChemTable manual. GChemTable manual GChemTable manual i GChemTable manual GChemTable manual ii Copyright 2006-2012 Jean Bréfort Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation

More information

Discogs Search Kit v1.0 AppleScript for itunes Find more free AppleScripts and info on writing your own at Doug's AppleScripts for itunes.

Discogs Search Kit v1.0 AppleScript for itunes Find more free AppleScripts and info on writing your own at Doug's AppleScripts for itunes. Discogs Search Kit v1.0 AppleScript for itunes Find more free AppleScripts and info on writing your own at Doug's AppleScripts for itunes. Two scripts assist with searching and then retreiving track and

More information

LibRCPS Manual. Robert Lemmen

LibRCPS Manual. Robert Lemmen LibRCPS Manual Robert Lemmen License librcps version 0.2, February 2008 Copyright c 2004 2008 Robert Lemmen This program is free software; you can redistribute

More information

AP COMPUTER SCIENCE JAVA CONCEPTS IV: RESERVED WORDS

AP COMPUTER SCIENCE JAVA CONCEPTS IV: RESERVED WORDS AP COMPUTER SCIENCE JAVA CONCEPTS IV: RESERVED WORDS PAUL L. BAILEY Abstract. This documents amalgamates various descriptions found on the internet, mostly from Oracle or Wikipedia. Very little of this

More information

CS-140 Fall 2017 Test 2 Version A Nov. 29, 2017

CS-140 Fall 2017 Test 2 Version A Nov. 29, 2017 CS-140 Fall 2017 Test 2 Version A Nov. 29, 2017 Name: 1. (10 points) For the following, Check T if the statement is true, the F if the statement is false. (a) T F : An interface defines the list of fields

More information

Combined Java Web Example: Servlets, JDBC and Graphics

Combined Java Web Example: Servlets, JDBC and Graphics A sample Training Module from our course WELL HOUSE CONSULTANTS LTD 404, The Spa Melksham, Wiltshire SN12 6QL United Kingdom PHONE: 01225 708225 FACSIMLE 01225 707126 EMAIL: info@wellho.net 2004 Well House

More information

COMP200 INHERITANCE. OOP using Java, from slides by Shayan Javed

COMP200 INHERITANCE. OOP using Java, from slides by Shayan Javed 1 1 COMP200 INHERITANCE OOP using Java, from slides by Shayan Javed 2 Inheritance Derive new classes (subclass) from existing ones (superclass). Only the Object class (java.lang) has no superclass Every

More information

VMware vcenter Log Insight Manager. Deployment Guide

VMware vcenter Log Insight Manager. Deployment Guide VMware vcenter Log Insight Manager Deployment Guide VERSION: 6.0 UPDATED: JULY 2016 Copyright Notices Copyright 2002-2016 KEMP Technologies, Inc.. All rights reserved.. KEMP Technologies and the KEMP Technologies

More information

J A D E Te s t S u i t e

J A D E Te s t S u i t e J A D E Te s t S u i t e USER GUIDE Last update: 12-January-2005 JADE3.4 Authors: Elisabetta Cortese (TILAB) Giovanni Caire (TILAB) Rosalba Bochicchio (TILAB) JADE - Java Agent DEvelopment Framework is

More information

RSA Two Factor Authentication

RSA Two Factor Authentication RSA Two Factor Authentication Feature Description VERSION: 6.0 UPDATED: JULY 2016 Copyright Notices Copyright 2002-2016 KEMP Technologies, Inc.. All rights reserved.. KEMP Technologies and the KEMP Technologies

More information

Open2Test Test Automation Framework for SilkTest - Usage Guidelines

Open2Test Test Automation Framework for SilkTest - Usage Guidelines for SilkTest - Usage Guidelines Version 1.0 January 2010 D I S C L A I M E R Verbatim copying and distribution of this entire article is permitted worldwide, without royalty, in any medium, provided this

More information

software.sci.utah.edu (Select Visitors)

software.sci.utah.edu (Select Visitors) software.sci.utah.edu (Select Visitors) Web Log Analysis Yearly Report 2002 Report Range: 02/01/2002 00:00:0-12/31/2002 23:59:59 www.webtrends.com Table of Contents Top Visitors...3 Top Visitors Over Time...5

More information

QTP Open Source Test Automation Framework Coding Standards for Developers

QTP Open Source Test Automation Framework Coding Standards for Developers Coding Standards for Developers Version 1.0 April 2009 D ISCLAIMER Verbatim copying and distribution of this entire article are permitted worldwide, without royalty, in any medium, provided this notice

More information

Lecture Notes: ESC 101

Lecture Notes: ESC 101 Lecture Notes: ESC 101 Date: 26/02/2008 // Program to Display calendar of a given month import java.util.scanner; class Year int year; Year() this.year=2000; Year(int y) year=(y>1900)? y:1900; //if year

More information

JBoss ESB 4.5 GA. Getting Started With JBoss ESB JBESB GS 2/11/09 JBESB-GS-2/11/09

JBoss ESB 4.5 GA. Getting Started With JBoss ESB JBESB GS 2/11/09 JBESB-GS-2/11/09 JBoss ESB 4.5 GA Getting Started With JBoss ESB JBESB GS 2/11/09 JBESB-GS-2/11/09 JBESB-GS-2/11/09 2 Legal Notices The information contained in this documentation is subject to change without notice. JBoss

More information

Xbee Shield. Introduction

Xbee Shield. Introduction Xbee Shield Introduction A Xbee shield allows an Arduino board to communicate wirelessly using Bee compatible modules (like Zigbee or BlueTooth Bee). It is designed to be used with Xbee module from MaxStream.

More information

IPEX The next version

IPEX The next version IPEX The next version A preview of ongoing work to redesign the IPEX website Jerry Hilbert European Parliament, DG ITEC (DIT) INTRODUCTION IPEX is An EU inter-parliamentary network of correspondents to

More information

import java.awt.*; import java.applet.*; import java.awt.event.*; import java.lang.*; import java.io.*; import java.util.*; import java.net.

import java.awt.*; import java.applet.*; import java.awt.event.*; import java.lang.*; import java.io.*; import java.util.*; import java.net. // TimeClient.java - NETWORK CLOCK CLIENT // // MODULE INDEX // NAME CONTENTS // getservertime Get the current time from the server // getservertimerange Get server time range // getcurrenttimerange Adjust

More information

Lecture 16. Reading: Weiss Ch. 5 CSE 100, UCSD: LEC 16. Page 1 of 40

Lecture 16. Reading: Weiss Ch. 5 CSE 100, UCSD: LEC 16. Page 1 of 40 Lecture 16 Hashing Hash table and hash function design Hash functions for integers and strings Collision resolution strategies: linear probing, double hashing, random hashing, separate chaining Hash table

More information

Packet Trace Guide. Packet Trace Guide. Technical Note

Packet Trace Guide. Packet Trace Guide. Technical Note Packet Trace Guide Technical Note VERSION: 2.0 UPDATED: JANUARY 2016 Copyright Notices Copyright 2002-2016 KEMP Technologies, Inc.. All rights reserved.. KEMP Technologies and the KEMP Technologies logo

More information

Seavus Project Viewer - Release 2016 (v12) Feature Status Release Date. Seavus Project Viewer - Release v11.1 Feature Status Release Date

Seavus Project Viewer - Release 2016 (v12) Feature Status Release Date. Seavus Project Viewer - Release v11.1 Feature Status Release Date Seavus Project Viewer - Release 2016 (v12) Feature Status Release Date Support for Microsoft Project 2016 file format; New 22.09.2015 Support for Microsoft Project 2016 file hybrid formats (2016 format

More information

Java TM Applets. Rex Jaeschke

Java TM Applets. Rex Jaeschke Java TM Applets Rex Jaeschke Java Applets 1997 1998, 2009 Rex Jaeschke. All rights reserved. Edition: 3.0 (matches JDK1.6/Java 2) All rights reserved. No part of this publication may be reproduced, stored

More information

Data Types. 9. Types. a collection of values and the definition of one or more operations that can be performed on those values

Data Types. 9. Types. a collection of values and the definition of one or more operations that can be performed on those values Data Types 1 data type: a collection of values and the definition of one or more operations that can be performed on those values C++ includes a variety of built-in or base data types: short, int, long,

More information

LoadMaster Clustering

LoadMaster Clustering Introduction LoadMaster Clustering Feature Description VERSION: 9.0 UPDATED: JULY 2016 Copyright Notices Copyright 2002-2016 KEMP Technologies, Inc.. All rights reserved.. KEMP Technologies and the KEMP

More information

Anubis User Guide. Paul Murray. For use with version 1.7 Last Update: 13 th October 2005

Anubis User Guide. Paul Murray. For use with version 1.7 Last Update: 13 th October 2005 Anubis User Guide Paul Murray For use with version 1.7 Last Update: 13 th October 2005 1 Introduction Anubis is a notification service for providing accurate, time-bound detection of distributed system

More information

Making New instances of Classes

Making New instances of Classes Making New instances of Classes NOTE: revised from previous version of Lecture04 New Operator Classes are user defined datatypes in OOP languages How do we make instances of these new datatypes? Using

More information

Array. Prepared By - Rifat Shahriyar

Array. Prepared By - Rifat Shahriyar Java More Details Array 2 Arrays A group of variables containing values that all have the same type Arrays are fixed length entities In Java, arrays are objects, so they are considered reference types

More information

COE318 Lecture Notes Week 10 (Nov 7, 2011)

COE318 Lecture Notes Week 10 (Nov 7, 2011) COE318 Software Systems Lecture Notes: Week 10 1 of 5 COE318 Lecture Notes Week 10 (Nov 7, 2011) Topics More about exceptions References Head First Java: Chapter 11 (Risky Behavior) The Java Tutorial:

More information

FAQ: Classes & Objects

FAQ: Classes & Objects Question 1: How do I define a class as a data type? Answer 1: Data types in Java can be simple data types such as integers and floating point numbers. Data types can also be complex, collecting many different

More information

Introduction to Programming (Java) 4/12

Introduction to Programming (Java) 4/12 Introduction to Programming (Java) 4/12 Michal Krátký Department of Computer Science Technical University of Ostrava Introduction to Programming (Java) 2008/2009 c 2006 2008 Michal Krátký Introduction

More information

Conversions and Casting

Conversions and Casting Conversions and Casting Taken and modified slightly from the book The Java TM Language Specification, Second Edition. Written by Sun Microsystems. Conversion of one reference type to another is divided

More information

AStyle C/C++ Source Code Formatter Plugin

AStyle C/C++ Source Code Formatter Plugin AStyle C/C++ Source Code Formatter Plugin This plugin allows for formatting and pretty-printing of C/C++ source code in an easy and convenient way. It is based on the Artistic Style code formatter utility.

More information

GChemCalc manual. GChemCalc manual

GChemCalc manual. GChemCalc manual GChemCalc manual i GChemCalc manual GChemCalc manual ii Copyright 2006-2012 Jean Bréfort Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation

More information

RadBlue Protocol Analyzer Version 6. [Released: 09 DEC 2009]

RadBlue Protocol Analyzer Version 6. [Released: 09 DEC 2009] Version 6 [Released: 09 DEC 2009] In this release, we added support for multicast command, updated the installer, and made usability improvements. New Features RPA now supports multicast commands. RPA

More information

Create Designs. How do you draw a design on a coordinate grid?

Create Designs. How do you draw a design on a coordinate grid? Create Designs Focus on After this lesson, ou will be able to create a design and identif the coordinates used to make the design identif the coordinates of vertices of a -D shape Bahamas Canada Hungar

More information

Java Programming Language Mr.Rungrote Phonkam

Java Programming Language Mr.Rungrote Phonkam 5 Java Programming Language Mr.Rungrote Phonkam rungrote@it.kmitl.ac.th Contents 1. Expressions 2. Control Flow 2.1 Condition 2.2 Multiple Branch 2.3 Lopps 2.4 Jump ก ก 1. Expressions ก ก ก ก ก 5/b%2+10;

More information

2 rd class Department of Programming. OOP with Java Programming

2 rd class Department of Programming. OOP with Java Programming 1. Structured Programming and Object-Oriented Programming During the 1970s and into the 80s, the primary software engineering methodology was structured programming. The structured programming approach

More information

KEMP Driver for Red Hat OpenStack. KEMP LBaaS Red Hat OpenStack Driver. Installation Guide

KEMP Driver for Red Hat OpenStack. KEMP LBaaS Red Hat OpenStack Driver. Installation Guide KEMP LBaaS Red Hat OpenStack Driver Installation Guide VERSION: 2.0 UPDATED: AUGUST 2016 Copyright Notices Copyright 2002-2016 KEMP Technologies, Inc.. All rights reserved.. KEMP Technologies and the KEMP

More information

LibreOffice. Architecture, accessibility and QA g_object_class_install_property (gobject_class, F_DO_BARNACLE_PROP_CODE, Jacobo Aragunde Pérez

LibreOffice. Architecture, accessibility and QA g_object_class_install_property (gobject_class, F_DO_BARNACLE_PROP_CODE, Jacobo Aragunde Pérez LibreOffice static void _f_do_barnacle_install_properties(gobjectclass *gobject_class) { GParamSpec *pspec; /* Party code attribute */ pspec = g_param_spec_uint64 (F_DO_BARNACLE_CODE, "Barnacle code.",

More information

Hyper-V - Windows 2012 and 8. Virtual LoadMaster for Microsoft Hyper-V on Windows Server 2012, 2012 R2 and Windows 8. Installation Guide

Hyper-V - Windows 2012 and 8. Virtual LoadMaster for Microsoft Hyper-V on Windows Server 2012, 2012 R2 and Windows 8. Installation Guide Virtual LoadMaster for Microsoft Hyper-V on Windows Server 2012, 2012 R2 and Windows 8 Installation Guide VERSION: 5.0 UPDATED: JANUARY 2016 Copyright Notices Copyright 2002-2016 KEMP Technologies, Inc..

More information

Object Oriented Programming: In this course we began an introduction to programming from an object-oriented approach.

Object Oriented Programming: In this course we began an introduction to programming from an object-oriented approach. CMSC 131: Chapter 28 Final Review: What you learned this semester The Big Picture Object Oriented Programming: In this course we began an introduction to programming from an object-oriented approach. Java

More information

SF Current Cumulative PTF Package. I B M i P R E V E N T I V E S E R V I C E P L A N N I N G I N F O R M A T I O N

SF Current Cumulative PTF Package. I B M i P R E V E N T I V E S E R V I C E P L A N N I N G I N F O R M A T I O N SF98720 Current Cumulative PTF Package I B M i P R E V E N T I V E S E R V I C E P L A N N I N G I N F O R M A T I O N Copyright IBM Corporation 1993, 2017 - The information in this document was last updated:

More information

PLA 3.0 MICROSOFT EXCEL DATA ACQUISITION MODULE

PLA 3.0 MICROSOFT EXCEL DATA ACQUISITION MODULE PLA 3.0 MICROSOFT EXCEL DATA ACQUISITION MODULE Version 1.2.0 User Guide PLA 3.0 Microsoft Excel Data Acquisition Module - User Guide COPYRIGHT PLA 3.0 2006-2016 Stegmann Systems GmbH, Rodgau, Germany.

More information

CISC 1600, Lab 3.1: Processing

CISC 1600, Lab 3.1: Processing CISC 1600, Lab 3.1: Processing Prof Michael Mandel 1 Getting set up For this lab, we will be using OpenProcessing, a site for building processing sketches online using processing.js. 1.1. Go to https://www.openprocessing.org/class/57767/

More information

Objectives. Problem Solving. Introduction. An overview of object-oriented concepts. Programming and programming languages An introduction to Java

Objectives. Problem Solving. Introduction. An overview of object-oriented concepts. Programming and programming languages An introduction to Java Introduction Objectives An overview of object-oriented concepts. Programming and programming languages An introduction to Java 1-2 Problem Solving The purpose of writing a program is to solve a problem

More information

CISC 1600, Lab 2.1: Processing

CISC 1600, Lab 2.1: Processing CISC 1600, Lab 2.1: Processing Prof Michael Mandel 1 Getting set up For this lab, we will be using Sketchpad, a site for building processing sketches online using processing.js. 1.1. Go to http://cisc1600.sketchpad.cc

More information

Polycom Advantage Service Endpoint Utilization Report

Polycom Advantage Service Endpoint Utilization Report Polycom Advantage Service Endpoint Utilization Report ABC Company 9/1/2018-9/30/2018 Polycom, Inc. All rights reserved. SAMPLE REPORT d This report is for demonstration purposes only. Any resemblance to

More information

1.OA.6 I can fluently add and subtract within NBT.1 I can read, write and sequence numerals NBT.6

1.OA.6 I can fluently add and subtract within NBT.1 I can read, write and sequence numerals NBT.6 Updated for -2013 Interim 1 Timeline: Aug. 3-17 CMA: none because review 1.OA.6 I can fluently add and subtract within 10. 1.NBT.1 I can read, write and sequence numerals 0-120. 1.OA.5 I can relate addition

More information

SAS System Powers Web Measurement Solution at U S WEST

SAS System Powers Web Measurement Solution at U S WEST SAS System Powers Web Measurement Solution at U S WEST Bob Romero, U S WEST Communications, Technical Expert - SAS and Data Analysis Dale Hamilton, U S WEST Communications, Capacity Provisioning Process

More information

NTLM NTLM. Feature Description

NTLM NTLM. Feature Description Feature Description VERSION: 6.0 UPDATED: JULY 2016 Copyright Notices Copyright 2002-2016 KEMP Technologies, Inc.. All rights reserved.. KEMP Technologies and the KEMP Technologies logo are registered

More information

CS 112 Introduction to Computing II. Wayne Snyder Computer Science Department Boston University

CS 112 Introduction to Computing II. Wayne Snyder Computer Science Department Boston University 9/5/6 CS Introduction to Computing II Wayne Snyder Department Boston University Today: Arrays (D and D) Methods Program structure Fields vs local variables Next time: Program structure continued: Classes

More information

CPS109 Lab 7. Source: Big Java, Chapter 7 Preparation: read Chapter 7 and the lecture notes for this week.

CPS109 Lab 7. Source: Big Java, Chapter 7 Preparation: read Chapter 7 and the lecture notes for this week. 1 CPS109 Lab 7 Source: Big Java, Chapter 7 Preparation: read Chapter 7 and the lecture notes for this week. Objectives: 1. To practice using one- and two-dimensional arrays 2. To practice using partially

More information

Asks for clarification of whether a GOP must communicate to a TOP that a generator is in manual mode (no AVR) during start up or shut down.

Asks for clarification of whether a GOP must communicate to a TOP that a generator is in manual mode (no AVR) during start up or shut down. # Name Duration 1 Project 2011-INT-02 Interpretation of VAR-002 for Constellation Power Gen 185 days Jan Feb Mar Apr May Jun Jul Aug Sep O 2012 2 Start Date for this Plan 0 days 3 A - ASSEMBLE SDT 6 days

More information

Polycom Advantage Service Endpoint Utilization Report

Polycom Advantage Service Endpoint Utilization Report Polycom Advantage Service Endpoint Utilization Report ABC Company 3/1/2016-3/31/2016 Polycom, Inc. All rights reserved. SAMPLE REPORT d This report is for demonstration purposes only. Any resemblance to

More information

Operator overloading: extra examples

Operator overloading: extra examples Operator overloading: extra examples CS319: Scientific Computing (with C++) Niall Madden Week 8: some extra examples, to supplement what was covered in class 1 Eg 1: Points in the (x, y)-plane Overloading

More information

DCS235 Software Engineering Exercise Sheet 2: Introducing GUI Programming

DCS235 Software Engineering Exercise Sheet 2: Introducing GUI Programming Prerequisites Aims DCS235 Software Engineering Exercise Sheet 2: Introducing GUI Programming Version 1.1, October 2003 You should be familiar with the basic Java, including the use of classes. The luej

More information

+! Today. Lecture 3: ArrayList & Standard Java Graphics 1/26/14! n Reading. n Objectives. n Reminders. n Standard Java Graphics (on course webpage)

+! Today. Lecture 3: ArrayList & Standard Java Graphics 1/26/14! n Reading. n Objectives. n Reminders. n Standard Java Graphics (on course webpage) +! Lecture 3: ArrayList & Standard Java Graphics +! Today n Reading n Standard Java Graphics (on course webpage) n Objectives n Review for this week s lab and homework assignment n Miscellanea (Random,

More information

The Optical Receipt Management Application. Design Document

The Optical Receipt Management Application. Design Document The Optical Receipt Management Application Design Document Version 1.0 Garry Ledford Roberto Vieras John Klein Charles Reed Advisor: Professor Jeff Salvage 1 Document History... 4 1. Introduction... 5

More information

High Performance Computing

High Performance Computing High Performance Computing MPI and C-Language Seminars 2009 Photo Credit: NOAA (IBM Hardware) High Performance Computing - Seminar Plan Seminar Plan for Weeks 1-5 Week 1 - Introduction, Data Types, Control

More information

OBJECT-ORIENTED PROGRAMMING IN R: S3 & R6. Environments, Reference Behavior, & Shared Fields

OBJECT-ORIENTED PROGRAMMING IN R: S3 & R6. Environments, Reference Behavior, & Shared Fields OBJECT-ORIENTED PROGRAMMING IN R: S3 & R6 Environments, Reference Behavior, & Shared Fields list environment > env lst env$x

More information

Block I Unit 2. Basic Constructs in Java. AOU Beirut Computer Science M301 Block I, unit 2 1

Block I Unit 2. Basic Constructs in Java. AOU Beirut Computer Science M301 Block I, unit 2 1 Block I Unit 2 Basic Constructs in Java M301 Block I, unit 2 1 Developing a Simple Java Program Objectives: Create a simple object using a constructor. Create and display a window frame. Paint a message

More information

Class, Variable, Constructor, Object, Method Questions

Class, Variable, Constructor, Object, Method Questions Class, Variable, Constructor, Object, Method Questions http://www.wideskills.com/java-interview-questions/java-classes-andobjects-interview-questions https://www.careerride.com/java-objects-classes-methods.aspx

More information

Java Applets. Last Time. Java Applets. Java Applets. First Java Applet. Java Applets. v We created our first Java application

Java Applets. Last Time. Java Applets. Java Applets. First Java Applet. Java Applets. v We created our first Java application Last Time v We created our first Java application v What are the components of a basic Java application? v What GUI component did we use in the examples? v How do we write to the standard output? v An

More information

TWO-DIMENSIONAL FIGURES

TWO-DIMENSIONAL FIGURES TWO-DIMENSIONAL FIGURES Two-dimensional (D) figures can be rendered by a graphics context. Here are the Graphics methods for drawing draw common figures: java.awt.graphics Methods to Draw Lines, Rectangles

More information

JBoss Tattletale 1.1 Developer's Guide

JBoss Tattletale 1.1 Developer's Guide JBoss Tattletale 1.1 Developer's Guide Betraying all your project's naughty little secrets Copyright 2009 Red Hat Middleware Table of Contents 1. About JBoss Tattletale...1 1.1. The team...1 1.2. Thanks

More information

Solution Notes. COMP 151: Terms Test

Solution Notes. COMP 151: Terms Test Family Name:.............................. Other Names:............................. ID Number:............................... Signature.................................. Solution Notes COMP 151: Terms

More information

Designing Adhoc Reports

Designing Adhoc Reports Designing Adhoc Reports Intellicus Web-based Reporting Suite Version 4.5 Enterprise Professional Smart Developer Smart Viewer Intellicus Technologies info@intellicus.com www.intellicus.com Copyright 2009

More information

Aimetis Crowd Detection. 1.x User Guide

Aimetis Crowd Detection. 1.x User Guide Aimetis Crowd Detection x User Guide Contents Contents Legal information... 3 Introduction...4 Installation...5 Requirements... 5 Install Crowd Detection...5 Open Crowd Detection... 5 Add a license...

More information

MCS-378 Intraterm Exam 1 Serial #:

MCS-378 Intraterm Exam 1 Serial #: MCS-378 Intraterm Exam 1 Serial #: This exam is closed-book and mostly closed-notes. You may, however, use a single 8 1/2 by 11 sheet of paper with hand-written notes for reference. (Both sides of the

More information

Monthly SEO Report. Example Client 16 November 2012 Scott Lawson. Date. Prepared by

Monthly SEO Report. Example Client 16 November 2012 Scott Lawson. Date. Prepared by Date Monthly SEO Report Prepared by Example Client 16 November 212 Scott Lawson Contents Thanks for using TrackPal s automated SEO and Analytics reporting template. Below is a brief explanation of the

More information

Kenora Public Library. Computer Training. Introduction to Excel

Kenora Public Library. Computer Training. Introduction to Excel Kenora Public Library Computer Training Introduction to Excel Page 2 Introduction: Spreadsheet programs allow users to develop a number of documents that can be used to store data, perform calculations,

More information

CS Programming I: Arrays

CS Programming I: Arrays CS 200 - Programming I: Arrays Marc Renault Department of Computer Sciences University of Wisconsin Madison Fall 2017 TopHat Sec 3 (PM) Join Code: 719946 TopHat Sec 4 (AM) Join Code: 891624 Array Basics

More information

In dropwizard metric framework, it use separate thread to scan the metrics map and do flush at a fixed interval.

In dropwizard metric framework, it use separate thread to scan the metrics map and do flush at a fixed interval. Runtime statistics As a monitoring system, user may ask question like: Is the system healthy? what's the heat point of the system? How many events is processed per second? Is the data well partitioned

More information