pojos
Class ShapeSettingsData

java.lang.Object
  extended by pojos.DataObject
      extended by pojos.ShapeSettingsData

public class ShapeSettingsData
extends DataObject

Stores the settings related to a given shape.

Since:
3.0-Beta4
Version:
3.0 (Internal version: $Revision: $Date: $)
Author:
Jean-Marie Burel      j.burel@dundee.ac.uk, Donald MacDonald      donald@lifesci.dundee.ac.uk

Field Summary
static Color DEFAULT_FILL_COLOUR
          The default fill color.
static Color DEFAULT_FILL_COLOUR_ALPHA
          The default fill color.
static String DEFAULT_FONT_FAMILY
          The default font family.
static int DEFAULT_FONT_SIZE
          The default font size.
static String DEFAULT_FONT_STYLE
          The default font style.
static String DEFAULT_FONT_WEIGHT
          The default font weight.
static Color DEFAULT_STROKE_COLOUR
          The default stroke color.
static double DEFAULT_STROKE_WIDTH
          The default stroke width.
static String FONT_BOLD
          Set if font bold.
static String FONT_ITALIC
          Set if font italic.
static String LINE_CAP_BUTT
          The Butt descriptor.
static String LINE_CAP_ROUND
          The Round descriptor.
static String LINE_CAP_SQUARE
          The Square descriptor.
 
Method Summary
 Color getFillColor()
          Returns the fill color.
 String getFillRule()
          Returns the fill rule.
 Font getFont()
          Get the style of the font for Shape.
 String getFontFamily()
          Returns the stroke.
 int getFontSize()
          Returns the stroke.
 String getFontStyle()
          Returns the font style.
 String getFontWeight()
          Get the weight of the font.
 int getLineCap()
          Returns the stroke.
 String getMarkerEnd()
          Returns the stroke.
 String getMarkerStart()
          Returns the stroke.
 Color getStrokeColor()
          Returns the color of the stroke.
 double[] getStrokeDashArray()
          Returns the stroke dashes.
 double getStrokeWidth()
          Returns the stroke's width.
 String getText()
          Returns the stroke.
 boolean isFontBold()
          Returns true if it is bold, false otherwise.
 boolean isFontItalic()
          Returns true if it is italic, false otherwise.
 void setFillColor(Color fillColour)
          Set the fill colour.
 void setFillRule(String fillRule)
          Set the fill rule.
 void setFontFamily(String fontFamily)
          Returns the stroke.
 void setFontSize(int fontSize)
          Set the size of the font.
 void setFontStyle(String fontStyle)
          Set the style of the font.
 void setFontWeight(String fontWeight)
          Set the weight of the font.
 void setLineCap(int lineCap)
          Set the line cap.
 void setStrokeColor(Color strokeColour)
          Set the stroke colour.
 void setStrokeDashArray(double[] dashArray)
          Set the stroke dashes.
 void setStrokeWidth(double strokeWidth)
          Set the stroke width.
 
Methods inherited from class pojos.DataObject
asAnnotation, asChannel, asDataset, asExperimenter, asGroup, asIAnnotated, asImage, asIObject, asPixels, asPlate, asPojo, asPojos, asPojos, asProject, asScreen, asWell, asWellSample, getCreated, getDetails, getId, getOwner, getPermissions, getUpdated, getVersion, isDirty, isLoaded, nullDetails, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, setDirty, setId, setValue, setVersion, timeOfEvent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LINE_CAP_BUTT

public static final String LINE_CAP_BUTT
The Butt descriptor.

See Also:
Constant Field Values

LINE_CAP_ROUND

public static final String LINE_CAP_ROUND
The Round descriptor.

See Also:
Constant Field Values

LINE_CAP_SQUARE

public static final String LINE_CAP_SQUARE
The Square descriptor.

See Also:
Constant Field Values

DEFAULT_FILL_COLOUR

public static final Color DEFAULT_FILL_COLOUR
The default fill color.


DEFAULT_FILL_COLOUR_ALPHA

public static final Color DEFAULT_FILL_COLOUR_ALPHA
The default fill color.


DEFAULT_STROKE_COLOUR

public static final Color DEFAULT_STROKE_COLOUR
The default stroke color.


DEFAULT_FONT_SIZE

public static final int DEFAULT_FONT_SIZE
The default font size.

See Also:
Constant Field Values

DEFAULT_FONT_STYLE

public static final String DEFAULT_FONT_STYLE
The default font style.

See Also:
Constant Field Values

DEFAULT_FONT_WEIGHT

public static final String DEFAULT_FONT_WEIGHT
The default font weight.

See Also:
Constant Field Values

DEFAULT_FONT_FAMILY

public static final String DEFAULT_FONT_FAMILY
The default font family.

See Also:
Constant Field Values

DEFAULT_STROKE_WIDTH

public static final double DEFAULT_STROKE_WIDTH
The default stroke width.

See Also:
Constant Field Values

FONT_ITALIC

public static final String FONT_ITALIC
Set if font italic.

See Also:
Constant Field Values

FONT_BOLD

public static final String FONT_BOLD
Set if font bold.

See Also:
Constant Field Values
Method Detail

getFillRule

public String getFillRule()
Returns the fill rule.

Returns:
See above.

setFillRule

public void setFillRule(String fillRule)
Set the fill rule.

Parameters:
fillRule - See above.

getFillColor

public Color getFillColor()
Returns the fill color.

Returns:
See above.

setFillColor

public void setFillColor(Color fillColour)
Set the fill colour.

Parameters:
fillColour - See above.

getStrokeColor

public Color getStrokeColor()
Returns the color of the stroke.

Returns:
See above.

setStrokeColor

public void setStrokeColor(Color strokeColour)
Set the stroke colour.

Parameters:
strokeColour - See above.

getStrokeWidth

public double getStrokeWidth()
Returns the stroke's width.

Returns:
See above.

setStrokeWidth

public void setStrokeWidth(double strokeWidth)
Set the stroke width.

Parameters:
strokeWidth - See above.

getStrokeDashArray

public double[] getStrokeDashArray()
Returns the stroke dashes.

Returns:
See above.

setStrokeDashArray

public void setStrokeDashArray(double[] dashArray)
Set the stroke dashes.

Parameters:
See - above.

getLineCap

public int getLineCap()
Returns the stroke.

Returns:
See above.

setLineCap

public void setLineCap(int lineCap)
Set the line cap.

Parameters:
lineCap - See above.

getFont

public Font getFont()
Get the style of the font for Shape.

Returns:
See above.

getFontFamily

public String getFontFamily()
Returns the stroke.

Returns:
See above.

setFontFamily

public void setFontFamily(String fontFamily)
Returns the stroke.


getFontSize

public int getFontSize()
Returns the stroke.

Returns:
See above.

setFontSize

public void setFontSize(int fontSize)
Set the size of the font.


getFontStyle

public String getFontStyle()
Returns the font style.

Returns:
See above.

setFontStyle

public void setFontStyle(String fontStyle)
Set the style of the font.


getFontWeight

public String getFontWeight()
Get the weight of the font.

Returns:
See above.

setFontWeight

public void setFontWeight(String fontWeight)
Set the weight of the font.


getMarkerStart

public String getMarkerStart()
Returns the stroke.

Returns:
See above.

getMarkerEnd

public String getMarkerEnd()
Returns the stroke.

Returns:
See above.

getText

public String getText()
Returns the stroke.

Returns:
See above.

isFontItalic

public boolean isFontItalic()
Returns true if it is italic, false otherwise.

Returns:
See above.

isFontBold

public boolean isFontBold()
Returns true if it is bold, false otherwise.

Returns:
See above.


OmeroJava Api

Version: Beta4.2.1-r8614-Beta4.2-b41

Copyright © 2009 The University of Dundee. All Rights Reserved.