com.aelitis.azureus.ui.swt.columns.utils
Class ColumnImageClickArea
java.lang.Object
com.aelitis.azureus.ui.swt.columns.utils.ColumnImageClickArea
- All Implemented Interfaces:
- TableCellMouseListener, TableCellMouseMoveListener, TableRowMouseListener
public class ColumnImageClickArea
- extends java.lang.Object
- implements TableCellMouseMoveListener, TableRowMouseListener
- Author:
- TuxPaper
Constructor Summary |
ColumnImageClickArea(java.lang.String columnID,
java.lang.String id,
java.lang.String imageID)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColumnImageClickArea
public ColumnImageClickArea(java.lang.String columnID,
java.lang.String id,
java.lang.String imageID)
- Parameters:
id
-
setImageID
public void setImageID(java.lang.String imageID)
- Parameters:
imageID2
- - Since:
- 3.0.1.5
addCell
public void addCell(TableCell cell)
getArea
public org.eclipse.swt.graphics.Rectangle getArea()
- Returns:
- the area
setArea
public void setArea(org.eclipse.swt.graphics.Rectangle area)
- Parameters:
area
- the area to set
getId
public java.lang.String getId()
- Returns:
- the id
getImage
public org.eclipse.swt.graphics.Image getImage()
- Returns:
- the image
setImage
public void setImage(org.eclipse.swt.graphics.Image image)
- Parameters:
image
- the image to set
setPosition
public void setPosition(int x,
int y)
drawImage
public void drawImage(TableCell cell,
org.eclipse.swt.graphics.GC gcImage)
- Parameters:
gcImage
- - Since:
- 3.0.1.7
cellMouseTrigger
public void cellMouseTrigger(TableCellMouseEvent event)
- Description copied from interface:
TableCellMouseListener
- triggered when a mouse event for the TableCell occurs, excluding
mouse move.
- Specified by:
cellMouseTrigger
in interface TableCellMouseListener
- Parameters:
event
- Mouse event information
rowMouseTrigger
public void rowMouseTrigger(TableRowMouseEvent event)
- Description copied from interface:
TableRowMouseListener
- triggered when a mouse event for the TableRow occurs, excluding
mouse move.
- Specified by:
rowMouseTrigger
in interface TableRowMouseListener
- Parameters:
event
- Mouse event information
getScale
public float getScale()
setScale
public void setScale(float scale)
getImageArea
public org.eclipse.swt.graphics.Rectangle getImageArea()
getTooltip
public java.lang.String getTooltip()
setTooltip
public void setTooltip(java.lang.String tooltip)
isVisible
public boolean isVisible()
setVisible
public void setVisible(boolean isVisible)