com.mindoo.remote.api.symphony
Interface IRemoteFont


public interface IRemoteFont

This class contains the font attributes (font name, font size, color, and so on) for an object.

Access


Method Summary
 int getColor()
          This property returns or sets the primary color of the object.
 double getHeight()
          This property returns or sets the height of the font, and the unit is 1/100 mm.
 java.lang.String getName()
          This property returns or sets the name of the font.
 int getUnderline()
          This property specifies the underline type of the font.
 double getWeight()
          This property returns or sets the weight of the font.
 boolean isBold()
          This property returns or sets whether the font is bold.
 boolean isItalic()
          This property specifies whether the font style is italic.
 boolean isStrikethrough()
          This property specifies whether the font is struck with a horizontal line.
 void setBold(boolean bold)
          This property returns or sets whether the font is bold.
 void setColor(int color)
          This property returns or sets the primary color of the object.
 void setHeight(double height)
          This property returns or sets the height of the font, and the unit is 1/100 mm.
 void setItalic(boolean italic)
          This property specifies whether the font style is italic.
 void setName(java.lang.String type)
          This property returns or sets the name of the font.
 void setStrikethrough(boolean strikethrough)
          This property specifies whether the font is struck with a horizontal line.
 void setUnderline(int underline)
          This property specifies the underline type of the font.
 void setWeight(double weight)
          This property returns or sets the weight of the font.
 

Method Detail

isBold

boolean isBold()
               throws RemoteEclipseAPIException
This property returns or sets whether the font is bold.

Returns:
bold
Throws:
RemoteEclipseAPIException

getColor

int getColor()
             throws RemoteEclipseAPIException
This property returns or sets the primary color of the object.

The value of this property is the decimal value of a color which you can using the RGB method in the Application class.

Returns:
color
Throws:
RemoteEclipseAPIException

setColor

void setColor(int color)
              throws RemoteEclipseAPIException
This property returns or sets the primary color of the object.

The value of this property is the decimal value of a color which you can using the RGB method in the Application class.

Parameters:
color -
Throws:
RemoteEclipseAPIException

getHeight

double getHeight()
                 throws RemoteEclipseAPIException
This property returns or sets the height of the font, and the unit is 1/100 mm.

Returns:
height
Throws:
RemoteEclipseAPIException

setHeight

void setHeight(double height)
               throws RemoteEclipseAPIException
This property returns or sets the height of the font, and the unit is 1/100 mm.

Parameters:
height -
Throws:
RemoteEclipseAPIException

isItalic

boolean isItalic()
                 throws RemoteEclipseAPIException
This property specifies whether the font style is italic.

Returns:
italic
Throws:
RemoteEclipseAPIException

setItalic

void setItalic(boolean italic)
               throws RemoteEclipseAPIException
This property specifies whether the font style is italic.

Parameters:
italic -
Throws:
RemoteEclipseAPIException

getName

java.lang.String getName()
                         throws RemoteEclipseAPIException
This property returns or sets the name of the font.

Returns:
type
Throws:
RemoteEclipseAPIException

setName

void setName(java.lang.String type)
             throws RemoteEclipseAPIException
This property returns or sets the name of the font.

Parameters:
type -
Throws:
RemoteEclipseAPIException

isStrikethrough

boolean isStrikethrough()
                        throws RemoteEclipseAPIException
This property specifies whether the font is struck with a horizontal line.

Returns:
strikethrough
Throws:
RemoteEclipseAPIException

setStrikethrough

void setStrikethrough(boolean strikethrough)
                      throws RemoteEclipseAPIException
This property specifies whether the font is struck with a horizontal line.

Parameters:
strikethrough -
Throws:
RemoteEclipseAPIException

getUnderline

int getUnderline()
                 throws RemoteEclipseAPIException
This property specifies the underline type of the font. The type can be a font underline type constant.

Returns:
underline
Throws:
RemoteEclipseAPIException

setUnderline

void setUnderline(int underline)
                  throws RemoteEclipseAPIException
This property specifies the underline type of the font. The type can be a font underline type constant.

Parameters:
underline -
Throws:
RemoteEclipseAPIException

getWeight

double getWeight()
                 throws RemoteEclipseAPIException
This property returns or sets the weight of the font. The value of this property can be a Font weight constant.

Returns:
weight
Throws:
RemoteEclipseAPIException

setWeight

void setWeight(double weight)
               throws RemoteEclipseAPIException
This property returns or sets the weight of the font. The value of this property can be a Font weight constant.

Parameters:
weight -
Throws:
RemoteEclipseAPIException

setBold

void setBold(boolean bold)
             throws RemoteEclipseAPIException
This property returns or sets whether the font is bold.

Parameters:
bold -
Throws:
RemoteEclipseAPIException