|
ExcelAccessor Bean Suite | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.ibm.excelaccessor.ExcelFormat
This bean represents some format-related properties of a cell. For accessing this properties, the ExcelFormatModel and the ExcelRange or ExcelCell beans must be used, too.
ExcelFormatModel,
ExcelCell,
ExcelRange, Serialized Form| Field Summary | |
static int |
DOUBLE
This ID can be used for setting the underline property to DOUBLE according to the Ms Excel. |
static int |
DOUBLE_ACCOUNTING
This ID can be used for setting the underline property to DOUBLE_ACCOUNTING according to the Ms Excel. |
static int |
NONE
This ID can be used for setting the underline property to NONE according to the Ms Excel. |
protected java.beans.PropertyChangeSupport |
propertyChange
|
static int |
SINGLE
This ID can be used for setting the underline property to SINGLE according to the Ms Excel. |
static int |
SINGLE_ACCOUNTING
This ID can be used for setting the underline property to SINGLE_ACCOUNTING according to the Ms Excel. |
| Constructor Summary | |
ExcelFormat()
ExcelFormat constructor. |
|
| Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
The addPropertyChangeListener method was generated to support the propertyChange field. |
void |
addPropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
The addPropertyChangeListener method was generated to support the propertyChange field. |
void |
firePropertyChange(java.beans.PropertyChangeEvent evt)
The firePropertyChange method was generated to support the propertyChange field. |
void |
firePropertyChange(java.lang.String propertyName,
boolean oldValue,
boolean newValue)
The firePropertyChange method was generated to support the propertyChange field. |
void |
firePropertyChange(java.lang.String propertyName,
int oldValue,
int newValue)
The firePropertyChange method was generated to support the propertyChange field. |
void |
firePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
The firePropertyChange method was generated to support the propertyChange field. |
java.lang.String |
getAboutThisBean()
Gets the aboutThisBean property (java.lang.String) value. |
java.awt.Color |
getColor()
Gets the color property (java.awt.Color) value. |
double |
getColorAsDouble()
Gets the color property as a double value. |
int |
getFontStyle()
Gets the fontstyle property. |
java.lang.String |
getName()
Gets the name property (java.lang.String) value. |
java.lang.String |
getNumberFormat()
Gets the numberformat property (java.lang.String) value. |
protected java.beans.PropertyChangeSupport |
getPropertyChange()
Accessor for the propertyChange field. |
int |
getSize()
Gets the size property (int) value. |
int |
getUnderline()
Gets the underline property (int) value. |
boolean |
hasListeners(java.lang.String propertyName)
The hasListeners method was generated to support the propertyChange field. |
boolean |
isBold()
Checks whether the font style of the appropriate cell is bold. |
boolean |
isItalic()
Checks whether the font style of the appropriate cell is italic. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
The removePropertyChangeListener method was generated to support the propertyChange field. |
void |
removePropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
The removePropertyChangeListener method was generated to support the propertyChange field. |
void |
setAboutThisBean(java.lang.String aboutThisBean)
Sets the aboutThisBean property (java.lang.String) value. |
void |
setBold(boolean bold)
Sets the bold property (boolean) value of the font. |
void |
setColor(java.awt.Color pColor)
Sets the color property (java.awt.Color) value. |
void |
setColor(double pColor)
Sets the color property of the bean as a double value. |
void |
setFontStyle(int pStyle)
Sets the fontstyle property. |
void |
setItalic(boolean italic)
Sets the italic property (boolean) value of the font. |
void |
setName(java.lang.String pName)
Sets the name property (java.lang.String) value. |
void |
setNumberFormat(java.lang.String pNumberFormat)
Sets the numberformat property. |
void |
setSize(int pSize)
Sets the size property (int) value. |
void |
setUnderline(int pUnderline)
Sets the underline property (int) value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int NONE
public static final int SINGLE
public static final int DOUBLE
public static final int SINGLE_ACCOUNTING
public static final int DOUBLE_ACCOUNTING
protected transient java.beans.PropertyChangeSupport propertyChange
| Constructor Detail |
public ExcelFormat()
| Method Detail |
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
public void addPropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
public void firePropertyChange(java.beans.PropertyChangeEvent evt)
public void firePropertyChange(java.lang.String propertyName,
int oldValue,
int newValue)
public void firePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
public void firePropertyChange(java.lang.String propertyName,
boolean oldValue,
boolean newValue)
public java.lang.String getAboutThisBean()
setAboutThisBean(java.lang.String)public java.awt.Color getColor()
setColor(double)public double getColorAsDouble()
setColor(double)public int getFontStyle()
setFontStyle(int)public java.lang.String getName()
setName(java.lang.String)public java.lang.String getNumberFormat()
setNumberFormat(java.lang.String)protected java.beans.PropertyChangeSupport getPropertyChange()
public int getSize()
setSize(int)public int getUnderline()
setUnderline(int)public boolean hasListeners(java.lang.String propertyName)
public boolean isBold()
setBold(boolean)public boolean isItalic()
setItalic(boolean)public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
public void removePropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
public void setAboutThisBean(java.lang.String aboutThisBean)
aboutThisBean - The new value for the property.getAboutThisBean()public void setBold(boolean bold)
bold - The new value for the property.isBold()public void setColor(double pColor)
pColor - doublepublic void setColor(java.awt.Color pColor)
color - The new value for the property.getColor()public void setFontStyle(int pStyle)
int - The new value for the property.getFontStyle()public void setItalic(boolean italic)
boolean - The new value for the property.isItalic()public void setName(java.lang.String pName)
| Java | Excel |
| Monospaced | Courier New |
| Dialog | Arial |
| Dialoginput | Arial |
| Serif | Ms Serif |
pName - The new value for the property.getName()public void setNumberFormat(java.lang.String pNumberFormat)
pNumberFormat - The new value for the property.getNumberFormat()public void setSize(int pSize)
size - The new value for the property.getSize()public void setUnderline(int pUnderline)
pUnderline - The new value for the property.getUnderline()
|
ExcelAccessor Bean Suite | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||