|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jidesoft.plaf.TableHeaderUIDelegate com.jidesoft.plaf.basic.BasicCellStyleTableHeaderUIDelegate com.jidesoft.plaf.basic.BasicSortableTableHeaderUIDelegate
public class BasicSortableTableHeaderUIDelegate
The UIDelegate class for SortableTableHeader in all L&F's.
Field Summary |
---|
Fields inherited from class com.jidesoft.plaf.basic.BasicCellStyleTableHeaderUIDelegate |
---|
_header, _mouseXOffset, _rendererPane |
Constructor Summary | |
---|---|
BasicSortableTableHeaderUIDelegate(JTableHeader header,
CellRendererPane rendererPane)
|
Method Summary | |
---|---|
void |
mouseClicked(MouseEvent e)
|
void |
mouseDragged(MouseEvent e)
|
void |
mouseEntered(MouseEvent e)
|
void |
mouseExited(MouseEvent e)
|
void |
mouseMoved(MouseEvent e)
|
void |
mousePressed(MouseEvent e)
|
void |
mouseReleased(MouseEvent e)
|
void |
paint(Graphics g,
JComponent c)
Paint method to paint the entire header. |
void |
propertyChange(PropertyChangeEvent evt)
|
void |
sortChanged(SortEvent event)
Called whenever the sorting index of SortableTableModel changed. |
void |
sortChanging(SortEvent event)
Called whenever the sorting index of SortableTableModel is about to change. |
void |
uninstallAllListeners()
Uninstall all listeners before setting new table header. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicSortableTableHeaderUIDelegate(JTableHeader header, CellRendererPane rendererPane)
Method Detail |
---|
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
propertyChange
in class BasicCellStyleTableHeaderUIDelegate
public void uninstallAllListeners()
TableHeaderUIDelegate
uninstallAllListeners
in class BasicCellStyleTableHeaderUIDelegate
public void sortChanging(SortEvent event)
SortListener
sortChanging
in interface SortListener
event
- the SortEventpublic void sortChanged(SortEvent event)
SortListener
sortChanged
in interface SortListener
event
- the SortEventpublic void paint(Graphics g, JComponent c)
paint
in class BasicCellStyleTableHeaderUIDelegate
g
- the Graphics instancec
- the component to be paintedpublic void mouseClicked(MouseEvent e)
mouseClicked
in interface MouseListener
mouseClicked
in class BasicCellStyleTableHeaderUIDelegate
public void mouseDragged(MouseEvent e)
mouseDragged
in interface MouseMotionListener
mouseDragged
in class BasicCellStyleTableHeaderUIDelegate
public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
mousePressed
in class BasicCellStyleTableHeaderUIDelegate
public void mouseMoved(MouseEvent e)
mouseMoved
in interface MouseMotionListener
mouseMoved
in class BasicCellStyleTableHeaderUIDelegate
public void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
mouseReleased
in class BasicCellStyleTableHeaderUIDelegate
public void mouseEntered(MouseEvent e)
mouseEntered
in interface MouseListener
mouseEntered
in class BasicCellStyleTableHeaderUIDelegate
public void mouseExited(MouseEvent e)
mouseExited
in interface MouseListener
mouseExited
in class BasicCellStyleTableHeaderUIDelegate
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |