org.autoplot.dom.Canvas

The state of the canvas which is the area on which plots are drawn.

Canvas( )


PROP_HEIGHT


PROP_WIDTH


PROP_FITTED

boolean property indicates that the canvas is resizable.


PROP_FONT


PROP_ROWS


PROP_COLUMNS


PROP_MARGINROW


PROP_MARGINCOLUMN


childNodes

childNodes( ) → List

Returns:

java.util.List

[search for examples] [view on GitHub] [view on old javadoc] [view source]


copy

copy( ) → DomNode

Returns:

org.autoplot.dom.DomNode

[search for examples] [view on GitHub] [view on old javadoc] [view source]


diffs

diffs( org.autoplot.dom.DomNode node ) → List

Parameters

node - a DomNode

Returns:

java.util.List

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getColumns

getColumns( ) → Column

Returns:

org.autoplot.dom.Column[]

[search for examples] [view on GitHub] [view on old javadoc] [view source]

getColumns( int index ) → Column

getController

getController( ) → CanvasController

Returns:

org.autoplot.dom.CanvasController

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getFont

getFont( ) → String

Returns:

java.lang.String

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getHeight

getHeight( ) → int

Returns:

int

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getMarginColumn

getMarginColumn( ) → Column

Returns:

org.autoplot.dom.Column

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getMarginRow

getMarginRow( ) → Row

Returns:

org.autoplot.dom.Row

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getRows

getRows( ) → Row

Returns:

org.autoplot.dom.Row[]

[search for examples] [view on GitHub] [view on old javadoc] [view source]

getRows( int index ) → Row

getWidth

getWidth( ) → int

Returns:

int

[search for examples] [view on GitHub] [view on old javadoc] [view source]


isFitted

isFitted( ) → boolean

Returns:

boolean

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setColumns

setColumns( org.autoplot.dom.Column[] columns ) → void

Parameters

columns - an org.autoplot.dom.Column[]

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]

setColumns( int index, org.autoplot.dom.Column newColumns ) → void

setFitted

setFitted( boolean fitted ) → void

Parameters

fitted - a boolean

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setFont

setFont( String font ) → void

Parameters

font - a String

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setHeight

setHeight( int height ) → void

set height before firing off changes

Parameters

height - an int

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setMarginColumn

setMarginColumn( org.autoplot.dom.Column marginColumn ) → void

Parameters

marginColumn - a Column

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setMarginRow

setMarginRow( org.autoplot.dom.Row marginRow ) → void

Parameters

marginRow - a Row

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setRows

setRows( org.autoplot.dom.Row[] rows ) → void

Parameters

rows - an org.autoplot.dom.Row[]

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]

setRows( int index, org.autoplot.dom.Row newRows ) → void

setSize

setSize( int width, int height ) → void

set both the width and height before firing off changes.

Parameters

width - the canvas width in pixels.
height - the canvas height in pixels.

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setWidth

setWidth( int width ) → void

set width before firing off changes

Parameters

width - an int

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


syncTo

syncTo( org.autoplot.dom.DomNode n ) → void

Parameters

n - a DomNode

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]

syncTo( org.autoplot.dom.DomNode n, java.util.List exclude ) → void