|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eodisp.wrapper.excel.Range
public class Range
Represents a range in an excel worksheet
| Field Summary | |
|---|---|
static int |
PROP_VALUE
|
(package private) static int |
PROP_WORKSHEET
|
| Constructor Summary | |
|---|---|
Range(org.eclipse.swt.ole.win32.OleAutomation range,
Worksheet worksheet)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAddress()
Returns the address of this range in the form "A1". |
long |
getColumn()
Returns the column index of this range |
double |
getDoubleValue()
Returns the double value of this range |
float |
getFloatValue()
Returns the float value of this range |
int |
getIntValue()
Returns the int value of this range |
long |
getLongValue()
Returns the long value of this range |
java.lang.String |
getName()
Returns the name of this range or null if this range
doesn't have a name. |
long |
getRow()
Return the row index of this range |
java.lang.String |
getStringValue()
Returns the string value of this range |
Worksheet |
getWorksheet()
Returns the worksheet of this range |
void |
select()
Selects this range in the worksheet. |
void |
setValue(double value)
Sets the value of this range |
void |
setValue(float value)
Sets the value of this range |
void |
setValue(int value)
Sets the value of this range |
void |
setValue(long value)
Sets the value of this range |
void |
setValue(java.lang.String value)
Sets the value of this range |
java.lang.String |
toString()
Returns: Worksheet!Name[Address] |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
static final int PROP_WORKSHEET
public static final int PROP_VALUE
| Constructor Detail |
|---|
public Range(org.eclipse.swt.ole.win32.OleAutomation range,
Worksheet worksheet)
| Method Detail |
|---|
public long getRow()
public java.lang.String getAddress()
public long getColumn()
public void setValue(int value)
value - the value of this rangepublic void setValue(long value)
value - the value of this rangepublic void setValue(java.lang.String value)
value - the value of this rangepublic void setValue(double value)
value - the value of this rangepublic void setValue(float value)
value - the value of this rangepublic int getIntValue()
public long getLongValue()
public java.lang.String getStringValue()
public double getDoubleValue()
public float getFloatValue()
public void select()
public java.lang.String getName()
null if this range
doesn't have a name.
null if this range
doesn't have a name.public Worksheet getWorksheet()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||