|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bigzip.plugin.ColumnInfo | +--com.bigzip.plugin.support.table.DoublePrecisionColumn
The DoublePrecisionColumn displays a column of double-precision floating-point numbers in the entry table. By default, the column is rendered with right justification. The column is sortable.
Fields inherited from class com.bigzip.plugin.ColumnInfo |
COMMON_CLASS_PROPERTY, EDITABLE_PROPERTY, EDITOR_PROPERTY, HEADING_PROPERTY, MAXIMUM_WIDTH_PROPERTY, MINIMUM_WIDTH_PROPERTY, PREFERRED_WIDTH_PROPERTY, RENDERER_PROPERTY, RESIZABLE_PROPERTY, SORTABLE_PROPERTY, SORTER_PROPERTY |
Constructor Summary | |
DoublePrecisionColumn()
Creates a new DoublePrecisionColumn with no column heading. |
|
DoublePrecisionColumn(java.lang.String heading)
Creates a new DoublePrecisionColumn with the specified heading. |
Method Summary | |
int |
getJustification()
Retreives the current justification setting for this column. |
int |
getMaximumFractionDigits()
Retrieves the maximum number of digits to be displayed after the decimal point. |
int |
getMaximumIntegerDigits()
Retrieves the maximum number of digits to be displayed before the decimal point. |
int |
getMinimumFractionDigits()
Retrieves the minimum number of digits to be displayed after the decimal point. |
int |
getMinimumIntegerDigits()
Retrieves the minimum number of digits to be displayed before the decimal point. |
java.text.NumberFormat |
getNumberFormater()
Retreives the current NumberFormat object associated with this column. |
void |
setJustification(int justification)
Sets the justification for the numbers in the column. |
void |
setMaximumFractionDigits(int max)
Sets the maximum number of digits to be displayed after the decimal point. |
void |
setMaximumIntegerDigits(int max)
Sets the maximum number of digits to be displayed before the decimal point. |
void |
setMinimumFractionDigits(int min)
Sets the minimum number of digits to be displayed after the decimal point. |
void |
setMinimumIntegerDigits(int min)
Sets the minimum number of digits to be displayed before the decimal point. |
void |
setNumberFormater(java.text.NumberFormat numberFormater)
Associates a new NumberFormat object with this column. |
Methods inherited from class com.bigzip.plugin.ColumnInfo |
addPropertyChangeListener, firePropertyChange, getCommonClass, getEditor, getHeading, getMaximumWidth, getMinimumWidth, getPreferredWidth, getRenderer, getSorter, isEditable, isResizable, isSortable, removePropertyChangeListener, setCommonClass, setEditable, setEditor, setHeading, setMaximumWidth, setMinimumWidth, setPreferredWidth, setRenderer, setResizable, setSortable, setSorter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DoublePrecisionColumn()
public DoublePrecisionColumn(java.lang.String heading)
heading
- The string to use as the heading for this column.Method Detail |
public int getJustification()
javax.swing.JLabel#getJustification
public int getMaximumFractionDigits()
public int getMaximumIntegerDigits()
public int getMinimumFractionDigits()
public int getMinimumIntegerDigits()
public java.text.NumberFormat getNumberFormater()
public void setJustification(int justification)
javax.swing.JLabel#setJustification
public void setMaximumFractionDigits(int max)
public void setMaximumIntegerDigits(int max)
public void setMinimumFractionDigits(int min)
public void setMinimumIntegerDigits(int min)
public void setNumberFormater(java.text.NumberFormat numberFormater)
formater
- The NumberFormat object to be used to format the numbers
in this column.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |