Differences between revisions 46 and 48 (spanning 2 versions)
Revision 46 as of 2009-08-23 19:50:53
Size: 613
Editor: AlfonsoReyes
Comment:
Revision 48 as of 2009-08-23 19:52:24
Size: 2177
Editor: AlfonsoReyes
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
|| Declaring a class type || public class CalcComplexPlotApp implements Calculation { [[br]] private Control myControl; <br> || 1. class CalcComplexPlotApp(Calculation): [[BR]] || || Declaring a class type || public class CalcComplexPlotApp implements Calculation { || class CalcComplexPlotApp(Calculation): ||


NEW STYLE: General table layout and HTML like options::
 ||||||<tablestyle="width: 80%">'''Heading'''||
 ||cell 1||cell2||cell 3||
 ||<rowspan=2> spanning rows||||<style="background-color: #E0E0FF;"> spanning 2 columns||
 ||<rowstyle="background-color: #FFFFE0;">cell2||cell 3||
 Cell width::
 || narrow ||<style="width: 99%; text-align: center;"> wide ||
 Spanning rows and columns::
 ||<|2> 2 rows || row 1 ||
 || row 2 ||
 ||<-2> row 3 over 2 columns ||
 Alignment::
 ||<style="text-align: left;">left ||<style="vertical-align: top; text-align: center;"|3> top ||<style="vertical-align: bottom;"|3> bottom ||
 ||<style="text-align: center;"> centered ||
 ||<style="text-align: right;"> right ||
 Fonts::
 || normal ||<style="font-weight: bold;"> bold ||<style="color: #FF0000;"> red ||<style="color: #FF0000; font-weight: bold;"> boldred ||
 Colors::
 ||<style="background-color: red;"> red ||<style="background-color: green;"> green ||<style="background-color: blue;"> blue ||

 OLD STYLE: General table layout and HTML like options::
 ||||||<tablewidth="80%">'''Heading'''||
 ||cell 1||cell2||cell 3||
 ||<rowspan=2> spanning rows||||<bgcolor="#E0E0FF"> spanning 2 columns||
 ||<rowbgcolor="#FFFFE0">cell2||cell 3||
 Cell width::
 || narrow ||<:99%> wide ||
 Spanning rows and columns::
 ||<|2> 2 rows || row 1 ||
 || row 2 ||
 ||<-2> row 3 over 2 columns ||
 Alignment::
 ||<(> left ||<^|3> top ||<v|3> bottom ||
 ||<:> centered ||
 ||<)> right ||
 Colors::
 ||<#FF8080> red ||<#80FF80> green ||<#8080FF> blue ||
 Line breaks within cells::
 || line 1[[BR]]line 2||

Describe ComparisonJavaJython here.

Description

In Java

In Jython

array of doubles

xCoord = Double[25]

xCoord = jarray.zeros(25, "d")

Size of array

mx = data.length;

mx = len(data)

array assignment

double re = reFun.evaluate(new double[] {data[i][j][0], data[i][j][1]});

re = self.reFun.evaluate([data[i][j][0], data[i][j][1]])

Declaring a class type

public class CalcComplexPlotApp implements Calculation {

class CalcComplexPlotApp(Calculation):

NEW STYLE: General table layout and HTML like options::

  • Heading

    cell 1

    cell2

    cell 3

    spanning rows

    spanning 2 columns

    cell2

    cell 3

  • Cell width
  • narrow

    wide

  • Spanning rows and columns
  • 2 rows

    row 1

    row 2

    row 3 over 2 columns

  • Alignment
  • left

    top

    bottom

    centered

    right

  • Fonts
  • normal

    bold

    red

    boldred

  • Colors
  • red

    green

    blue

  • OLD STYLE: General table layout and HTML like options
  • Heading

    cell 1

    cell2

    cell 3

    spanning rows

    spanning 2 columns

    cell2

    cell 3

  • Cell width
  • narrow

    wide

  • Spanning rows and columns
  • 2 rows

    row 1

    row 2

    row 3 over 2 columns

  • Alignment
  • left

    top

    bottom

    centered

    right

  • Colors
  • red

    green

    blue

  • Line breaks within cells
  • line 1BRline 2

ComparisonJavaJython (last edited 2009-08-23 20:01:21 by AlfonsoReyes)