com.jxcell
Class GRObject
java.lang.Object
Obj
com.jxcell.GRObject
- Direct Known Subclasses:
- GRChart
public class GRObject
- extends Obj
Method Summary |
void |
addItem(java.lang.String s)
|
void |
copy(GRObject grobject)
|
void |
deleteItem(int i)
|
short |
getArrowLength()
|
short |
getArrowStyle()
|
short |
getArrowWidth()
|
int |
getCellCol()
|
int |
getCellRow()
|
short |
getCellType()
|
int |
getFontBold()
|
int |
getFontBold(int i,
int j)
|
int |
getFontColor()
|
int |
getFontColor(int i,
int j)
|
int |
getFontItalic()
|
int |
getFontItalic(int i,
int j)
|
java.lang.String |
getFontName()
|
java.lang.String |
getFontName(int i,
int j)
|
int |
getFontSize()
|
int |
getFontSize(int i,
int j)
|
int |
getFontUnderline()
|
int |
getFontUnderline(int i,
int j)
|
ShapeFormatImpl |
getFormat()
|
static GRObject |
getGRObject(java.awt.Shape shape)
|
int |
getHorizontalAlignment()
|
int |
getID()
|
byte[] |
getImage()
|
java.lang.String |
getImageFileName()
|
java.lang.String |
getImageURL()
|
java.lang.String |
getItem(int i)
|
int |
getItemCount()
|
int |
getLineColor()
|
short |
getLineStyle()
|
int |
getLineWeight()
|
java.lang.String |
getName()
|
GRObject |
getNextObject()
|
short |
getPattern()
|
int |
getPatternBG()
|
int |
getPatternFG()
|
GRObjectPos |
getPos()
|
int |
getSelection()
|
java.awt.Shape |
getShape()
|
ShapeImpl |
getShapeImpl()
|
java.lang.String |
getText()
|
short |
getType()
|
int |
getValue()
|
int |
getVerticalAlignment()
|
boolean |
isAutoSize()
|
boolean |
isLineAuto()
|
boolean |
isSelectable()
|
static boolean |
isValidObjectType(short word0)
|
boolean |
isVisible()
|
void |
setArrowLength(short word0)
|
void |
setArrowStyle(short word0)
|
void |
setArrowWidth(short word0)
|
void |
setAutoSize(boolean flag)
|
void |
setCell(short type,
int row,
int col)
|
void |
setFontBold(boolean flag)
|
void |
setFontBold(boolean flag,
int i,
int j)
|
void |
setFontColor(int i)
|
void |
setFontColor(int i,
int j,
int k)
|
void |
setFontItalic(boolean flag)
|
void |
setFontItalic(boolean flag,
int i,
int j)
|
void |
setFontName(java.lang.String s)
|
void |
setFontName(java.lang.String s,
int i,
int j)
|
void |
setFontSize(int i)
|
void |
setFontSize(int i,
int j,
int k)
|
void |
setFontUnderline(boolean flag)
|
void |
setFontUnderline(boolean flag,
int i,
int j)
|
void |
setFormat()
|
void |
setHorizontalAlignment(int i)
|
void |
setID(int id)
|
void |
setImage(byte[] abyte0)
|
void |
setImageFileName(java.lang.String s)
|
void |
setImageURL(java.lang.String s)
|
void |
setLineAuto(boolean flag)
|
void |
setLineColor(int i)
|
void |
setLineStyle(short word0)
|
void |
setLineWeight(int i)
|
void |
setName(java.lang.String s)
|
void |
setPattern(short word0)
|
void |
setPatternBG(int i)
|
void |
setPatternFG(int i)
|
void |
setPatternURL(java.lang.String s)
|
void |
setPos(double col1,
double row1,
double col2,
double row2)
|
void |
setPos000(double col1,
double row1,
double col2,
double row2)
|
void |
setSelection(int i)
|
void |
setText(java.lang.String s)
|
void |
setValidationItems(java.lang.String texts,
int selectedIndex)
|
void |
setValue(int i)
|
void |
setVerticalAlignment(int i)
|
void |
setVisible(boolean flag)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
eCellNone
public static final short eCellNone
- See Also:
- Constant Field Values
eCellValue
public static final short eCellValue
- See Also:
- Constant Field Values
eCellText
public static final short eCellText
- See Also:
- Constant Field Values
eLine
public static final short eLine
- See Also:
- Constant Field Values
eRectangle
public static final short eRectangle
- See Also:
- Constant Field Values
eOval
public static final short eOval
- See Also:
- Constant Field Values
eArc
public static final short eArc
- See Also:
- Constant Field Values
eChart
public static final short eChart
- See Also:
- Constant Field Values
eText
public static final short eText
- See Also:
- Constant Field Values
eButton
public static final short eButton
- See Also:
- Constant Field Values
ePicture
public static final short ePicture
- See Also:
- Constant Field Values
ePolygon
public static final short ePolygon
- See Also:
- Constant Field Values
eDropDown
public static final short eDropDown
- See Also:
- Constant Field Values
eCheckBox
public static final short eCheckBox
- See Also:
- Constant Field Values
eListBox
public static final short eListBox
- See Also:
- Constant Field Values
eGroup
public static final short eGroup
- See Also:
- Constant Field Values
eRadioButton
public static final short eRadioButton
- See Also:
- Constant Field Values
eArrowNone
public static final short eArrowNone
- See Also:
- Constant Field Values
eArrowHollow
public static final short eArrowHollow
- See Also:
- Constant Field Values
eArrowFilled
public static final short eArrowFilled
- See Also:
- Constant Field Values
eArrowSmall
public static final short eArrowSmall
- See Also:
- Constant Field Values
eArrowMedium
public static final short eArrowMedium
- See Also:
- Constant Field Values
eArrowLarge
public static final short eArrowLarge
- See Also:
- Constant Field Values
GRObject
public GRObject()
GRObject
public GRObject(ShapeImpl shapeimpl)
getShapeImpl
public ShapeImpl getShapeImpl()
copy
public void copy(GRObject grobject)
throws CellException
- Throws:
CellException
setSelection
public void setSelection(int i)
throws CellException
- Throws:
CellException
getSelection
public int getSelection()
throws CellException
- Throws:
CellException
setValidationItems
public void setValidationItems(java.lang.String texts,
int selectedIndex)
throws CellException
- Throws:
CellException
addItem
public void addItem(java.lang.String s)
throws CellException
- Throws:
CellException
deleteItem
public void deleteItem(int i)
throws CellException
- Throws:
CellException
getArrowLength
public short getArrowLength()
throws CellException
- Throws:
CellException
getArrowStyle
public short getArrowStyle()
throws CellException
- Throws:
CellException
getArrowWidth
public short getArrowWidth()
throws CellException
- Throws:
CellException
getCellCol
public int getCellCol()
throws CellException
- Throws:
CellException
getCellRow
public int getCellRow()
throws CellException
- Throws:
CellException
getCellType
public short getCellType()
throws CellException
- Throws:
CellException
getFontBold
public int getFontBold()
throws CellException
- Throws:
CellException
getFontBold
public int getFontBold(int i,
int j)
throws CellException
- Throws:
CellException
getFontColor
public int getFontColor()
throws CellException
- Throws:
CellException
getFontColor
public int getFontColor(int i,
int j)
throws CellException
- Throws:
CellException
getFontItalic
public int getFontItalic()
throws CellException
- Throws:
CellException
getFontItalic
public int getFontItalic(int i,
int j)
throws CellException
- Throws:
CellException
getFontName
public java.lang.String getFontName()
throws CellException
- Throws:
CellException
getFontName
public java.lang.String getFontName(int i,
int j)
throws CellException
- Throws:
CellException
getFontSize
public int getFontSize()
throws CellException
- Throws:
CellException
getFontSize
public int getFontSize(int i,
int j)
throws CellException
- Throws:
CellException
getFontUnderline
public int getFontUnderline()
throws CellException
- Throws:
CellException
getFontUnderline
public int getFontUnderline(int i,
int j)
throws CellException
- Throws:
CellException
getGRObject
public static GRObject getGRObject(java.awt.Shape shape)
getHorizontalAlignment
public int getHorizontalAlignment()
throws CellException
- Throws:
CellException
getID
public int getID()
setID
public void setID(int id)
getImage
public byte[] getImage()
throws CellException
- Throws:
CellException
getImageFileName
public java.lang.String getImageFileName()
throws CellException
- Throws:
CellException
getImageURL
public java.lang.String getImageURL()
throws CellException
- Throws:
CellException
getItem
public java.lang.String getItem(int i)
throws CellException
- Throws:
CellException
getItemCount
public int getItemCount()
throws CellException
- Throws:
CellException
getLineColor
public int getLineColor()
throws CellException
- Throws:
CellException
getLineStyle
public short getLineStyle()
throws CellException
- Throws:
CellException
getLineWeight
public int getLineWeight()
throws CellException
- Throws:
CellException
isAutoSize
public boolean isAutoSize()
throws CellException
- Throws:
CellException
isLineAuto
public boolean isLineAuto()
throws CellException
- Throws:
CellException
isSelectable
public boolean isSelectable()
getName
public java.lang.String getName()
getNextObject
public GRObject getNextObject()
getPattern
public short getPattern()
throws CellException
- Throws:
CellException
getPatternBG
public int getPatternBG()
throws CellException
- Throws:
CellException
getPatternFG
public int getPatternFG()
throws CellException
- Throws:
CellException
getPos
public GRObjectPos getPos()
getShape
public java.awt.Shape getShape()
getText
public java.lang.String getText()
throws CellException
- Throws:
CellException
getType
public short getType()
getValue
public int getValue()
throws CellException
- Throws:
CellException
getVerticalAlignment
public int getVerticalAlignment()
throws CellException
- Throws:
CellException
isValidObjectType
public static boolean isValidObjectType(short word0)
isVisible
public boolean isVisible()
setArrowLength
public void setArrowLength(short word0)
throws CellException
- Throws:
CellException
setArrowStyle
public void setArrowStyle(short word0)
throws CellException
- Throws:
CellException
setArrowWidth
public void setArrowWidth(short word0)
throws CellException
- Throws:
CellException
setAutoSize
public void setAutoSize(boolean flag)
throws CellException
- Throws:
CellException
setCell
public void setCell(short type,
int row,
int col)
throws CellException
- Throws:
CellException
setFontBold
public void setFontBold(boolean flag)
throws CellException
- Throws:
CellException
setFontBold
public void setFontBold(boolean flag,
int i,
int j)
throws CellException
- Throws:
CellException
setFontColor
public void setFontColor(int i)
throws CellException
- Throws:
CellException
setFontColor
public void setFontColor(int i,
int j,
int k)
throws CellException
- Throws:
CellException
setFontItalic
public void setFontItalic(boolean flag)
throws CellException
- Throws:
CellException
setFontItalic
public void setFontItalic(boolean flag,
int i,
int j)
throws CellException
- Throws:
CellException
setFontName
public void setFontName(java.lang.String s)
throws CellException
- Throws:
CellException
setFontName
public void setFontName(java.lang.String s,
int i,
int j)
throws CellException
- Throws:
CellException
setFontSize
public void setFontSize(int i)
throws CellException
- Throws:
CellException
setFontSize
public void setFontSize(int i,
int j,
int k)
throws CellException
- Throws:
CellException
setFontUnderline
public void setFontUnderline(boolean flag)
throws CellException
- Throws:
CellException
setFontUnderline
public void setFontUnderline(boolean flag,
int i,
int j)
throws CellException
- Throws:
CellException
setHorizontalAlignment
public void setHorizontalAlignment(int i)
throws CellException
- Throws:
CellException
setImage
public void setImage(byte[] abyte0)
throws CellException
- Throws:
CellException
setImageURL
public void setImageURL(java.lang.String s)
throws CellException
- Throws:
CellException
setImageFileName
public void setImageFileName(java.lang.String s)
throws CellException
- Throws:
CellException
setLineColor
public void setLineColor(int i)
throws CellException
- Throws:
CellException
setLineStyle
public void setLineStyle(short word0)
throws CellException
- Throws:
CellException
setLineWeight
public void setLineWeight(int i)
throws CellException
- Throws:
CellException
setLineAuto
public void setLineAuto(boolean flag)
throws CellException
- Throws:
CellException
setName
public void setName(java.lang.String s)
setPattern
public void setPattern(short word0)
throws CellException
- Throws:
CellException
setPatternBG
public void setPatternBG(int i)
throws CellException
- Throws:
CellException
setPatternFG
public void setPatternFG(int i)
throws CellException
- Throws:
CellException
setPatternURL
public void setPatternURL(java.lang.String s)
throws CellException
- Throws:
CellException
setPos000
public void setPos000(double col1,
double row1,
double col2,
double row2)
throws CellException
- Throws:
CellException
setPos
public void setPos(double col1,
double row1,
double col2,
double row2)
throws CellException
- Throws:
CellException
setText
public void setText(java.lang.String s)
throws CellException
- Throws:
CellException
setValue
public void setValue(int i)
throws CellException
- Throws:
CellException
setVerticalAlignment
public void setVerticalAlignment(int i)
throws CellException
- Throws:
CellException
setVisible
public void setVisible(boolean flag)
getFormat
public ShapeFormatImpl getFormat()
throws CellException
- Throws:
CellException
setFormat
public void setFormat()