Class JGrid.JHNewsCell
All Packages Class Hierarchy This Package Previous Next Index
Class JGrid.JHNewsCell
Object
|
+----ICell
|
+----JGrid.JHNewsCell
- public class JHNewsCell
- extends ICell
-
CBGColor
-
-
CTEXTColor
-
-
frontImg
-
-
JGrid.JHNewsCell()
-
-
draw(Graphics, JGrid2)
- Call this method to draw the contents of the cell in the
rectangle rect with default values.
-
getURLStr()
- Get the URL string of the cell if it has one
-
setFeature(String)
- set the features of the cell
NOTE: feature is set after the value has been set (when JCell is created)
-
setMousePosition(int, int, int)
- set the current mouse position in the cell
NOTE: this method is only useful for those cell types which needs to catch the position of the mouse action
within the cell.
-
setValue(Object)
- override the ICell:setValue method
NOTE: each setValue will set the whole set of news including the old ones.
CBGColor
protected java.awt.Color CBGColor
CTEXTColor
protected java.awt.Color CTEXTColor
frontImg
public static java.awt.Image frontImg
JHNewsCell
public JHNewsCell()
draw
protected void draw(Graphics g,
JGrid2 grid)
- Call this method to draw the contents of the cell in the
rectangle rect with default values.
- Parameters:
- rect - java.awt.Rectangle
- g - java.awt.Graphics
- Overrides:
- draw in class ICell
getURLStr
public java.lang.String getURLStr()
- Get the URL string of the cell if it has one
- Overrides:
- getURLStr in class ICell
setFeature
public void setFeature(String feature)
- set the features of the cell
NOTE: feature is set after the value has been set (when JCell is created)
- Overrides:
- setFeature in class ICell
setMousePosition
protected boolean setMousePosition(int x,
int y,
int eventType)
- set the current mouse position in the cell
NOTE: this method is only useful for those cell types which needs to catch the position of the mouse action
within the cell.
- Overrides:
- setMousePosition in class ICell
setValue
public void setValue(Object val)
- override the ICell:setValue method
NOTE: each setValue will set the whole set of news including the old ones.
- Parameters:
- val - new value
- Overrides:
- setValue in class ICell
All Packages Class Hierarchy This Package Previous Next Index