|
Bean Builder | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.adventnet.beans.probeans.renderer.ProListViewTableHeaderRenderer
The ProListViewTableHeaderRenderer
| Constructor Summary | |
ProListViewTableHeaderRenderer()
Creates a new ProListViewTableHeaderRenderer instance. |
|
ProListViewTableHeaderRenderer(javax.swing.ImageIcon viewSortUpImage,
javax.swing.ImageIcon viewSortDownImage,
javax.swing.ImageIcon dataSortUpImage,
javax.swing.ImageIcon dataSortDownImage)
Creates a new ProListViewTableHeaderRenderer instance. |
|
| Method Summary | |
int |
getDataSortColumn()
Return's the DataSortColumn of the table. |
javax.swing.ImageIcon |
getDataSortDownImage()
Return's the Data SortDown Image. |
java.awt.Color |
getDataSortHeaderBackground()
Return's the DataSortHeaderBackground of the table. |
java.awt.Color |
getDataSortHeaderForeground()
Return's the DataSortHeaderForeground of the table. |
boolean |
getDataSortOrder()
Return's the DataSortOrder of the table. |
javax.swing.ImageIcon |
getDataSortUpImage()
Return's the Data SortUp Image. |
int |
getHeaderHeight()
Return's the Header Height of the table. |
java.awt.Component |
getTableCellRendererComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column)
Returns the custom rendering component, overriding the getTableCellRendererComponent method of TableCellRenderer. |
int |
getViewSortColumn()
Return's the ViewSortColumn of the table. |
javax.swing.ImageIcon |
getViewSortDownImage()
Return's the ViewSort DownImage. |
java.awt.Color |
getViewSortHeaderBackground()
Return's the ViewSortHeaderBackground of the table. |
java.awt.Color |
getViewSortHeaderForeground()
Return's the ViewSortHeaderForeground of the table. |
boolean |
getViewSortOrder()
Return's the state of the ViewSortOrder. |
javax.swing.ImageIcon |
getViewSortUpImage()
Return's the ViewSort UpImage. |
void |
setDataSortColumn(int dataSortColumn)
Set's the DataSortColumn of the table. |
void |
setDataSortDownImage(javax.swing.ImageIcon dataSortDownImage)
Set's a new image as Data SortDown. |
void |
setDataSortHeaderBackground(java.awt.Color color)
Set's the DataSortHeaderBackground of the table. |
void |
setDataSortHeaderFont(java.awt.Font font)
Set's the DataSortHeaderFont of the table. |
void |
setDataSortHeaderForeground(java.awt.Color color)
Set's the DataSortHeaderForeground of the table. |
void |
setDataSortOrder(boolean dataSortOrder)
Set's the DataSortOrder of the table. |
void |
setDataSortUpImage(javax.swing.ImageIcon dataSortUpImage)
Set's a new image as Data SortUp . |
void |
setHeaderHeight(int headerHeight)
Set's the Header Height of the table. |
void |
setViewSortColumn(int viewSortColumn)
Set's the ViewSortColumn of the table. |
void |
setViewSortDownImage(javax.swing.ImageIcon viewSortDownImage)
Set's a ViewSort DownImage. |
void |
setViewSortHeaderBackground(java.awt.Color color)
Set's the ViewSortHeaderBackground of the table. |
void |
setViewSortHeaderFont(java.awt.Font font)
Set's the ViewSortHeaderFont of the table. |
void |
setViewSortHeaderForeground(java.awt.Color color)
Set's the ViewSortHeaderForeground of the table. |
void |
setViewSortOrder(boolean viewSortOrder)
Set's the ViewSortOrder of the table. |
void |
setViewSortUpImage(javax.swing.ImageIcon viewSortUpImage)
Set's the ViewSort UpImage . |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public ProListViewTableHeaderRenderer()
ProListViewTableHeaderRenderer instance.
public ProListViewTableHeaderRenderer(javax.swing.ImageIcon viewSortUpImage,
javax.swing.ImageIcon viewSortDownImage,
javax.swing.ImageIcon dataSortUpImage,
javax.swing.ImageIcon dataSortDownImage)
ProListViewTableHeaderRenderer instance.viewSortUpImage - an ImageIcon valueviewSortDownImage - an ImageIcon valuedataSortUpImage - an ImageIcon valuedataSortDownImage - an ImageIcon value| Method Detail |
public java.awt.Component getTableCellRendererComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
boolean hasFocus,
int row,
int column)
table - a JTable valuevalue - an Object valueisSelected - a boolean valuehasFocus - a boolean valuerow - an int valuecolumn - an int valueComponent valuepublic void setDataSortUpImage(javax.swing.ImageIcon dataSortUpImage)
dataSortUpImage - an ImageIcon valuepublic void setDataSortDownImage(javax.swing.ImageIcon dataSortDownImage)
dataSortDownImage - an ImageIcon valuepublic javax.swing.ImageIcon getDataSortDownImage()
ImageIcon valuepublic javax.swing.ImageIcon getDataSortUpImage()
ImageIcon valuepublic void setViewSortDownImage(javax.swing.ImageIcon viewSortDownImage)
viewSortDownImage - an ImageIcon valuepublic javax.swing.ImageIcon getViewSortUpImage()
ImageIcon valuepublic void setViewSortUpImage(javax.swing.ImageIcon viewSortUpImage)
viewSortUpImage - an ImageIcon valuepublic javax.swing.ImageIcon getViewSortDownImage()
ImageIcon valuepublic void setViewSortOrder(boolean viewSortOrder)
viewSortOrder - a boolean valuepublic boolean getViewSortOrder()
boolean valuepublic void setDataSortOrder(boolean dataSortOrder)
dataSortOrder - a boolean valuepublic boolean getDataSortOrder()
boolean valuepublic void setHeaderHeight(int headerHeight)
headerHeight - an int valuepublic int getHeaderHeight()
int valuepublic void setViewSortColumn(int viewSortColumn)
viewSortColumn - an int valuepublic int getViewSortColumn()
int valuepublic void setDataSortColumn(int dataSortColumn)
dataSortColumn - an int valuepublic int getDataSortColumn()
int valuepublic void setViewSortHeaderBackground(java.awt.Color color)
color - a Color valuepublic java.awt.Color getViewSortHeaderBackground()
Color valuepublic void setDataSortHeaderBackground(java.awt.Color color)
color - a Color valuepublic java.awt.Color getDataSortHeaderBackground()
Color valuepublic void setViewSortHeaderForeground(java.awt.Color color)
color - a Color valuepublic java.awt.Color getViewSortHeaderForeground()
Color valuepublic void setDataSortHeaderForeground(java.awt.Color color)
color - a Color valuepublic java.awt.Color getDataSortHeaderForeground()
Color valuepublic void setViewSortHeaderFont(java.awt.Font font)
font - a Font valuepublic void setDataSortHeaderFont(java.awt.Font font)
font - a Font value
|
Bean Builder | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||