Class JGrid.JHNewsCell
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JGrid.JHNewsCell

Object
   |
   +----ICell
           |
           +----JGrid.JHNewsCell

public class JHNewsCell
extends ICell

Variable Index

 o CBGColor
 o CTEXTColor
 o frontImg

Constructor Index

 o JGrid.JHNewsCell()

Method Index

 o draw(Graphics, JGrid2)
Call this method to draw the contents of the cell in the rectangle rect with default values.
 o getURLStr()
Get the URL string of the cell if it has one
 o setFeature(String)
set the features of the cell
NOTE: feature is set after the value has been set (when JCell is created)
 o 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.
 o setValue(Object)
override the ICell:setValue method
NOTE: each setValue will set the whole set of news including the old ones.

Variables

 o CBGColor
protected java.awt.Color CBGColor
 o CTEXTColor
protected java.awt.Color CTEXTColor
 o frontImg
public static java.awt.Image frontImg

Constructors

 o JHNewsCell
public JHNewsCell()

Methods

 o 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
 o getURLStr
public java.lang.String getURLStr()
Get the URL string of the cell if it has one

Overrides:
getURLStr in class ICell
 o 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
 o 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
 o 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