public class RangeAddress
extends java.lang.Object
Description: provides connectivity utilities for ranges
REFERENCE:
Constructor and Description |
---|
RangeAddress(int _startCol,
int _startRow,
int _endCol,
int _endRow) |
RangeAddress(java.lang.String _url)
Accepts an external reference from excel.
|
Modifier and Type | Method and Description |
---|---|
int |
get26Sys(java.lang.String _s) |
java.lang.String |
getAddress() |
java.lang.String |
getCharPart(java.lang.String _value) |
java.lang.String |
getDigitPart(java.lang.String _value) |
java.lang.String |
getFromCell() |
int |
getHeight() |
java.lang.String |
getRange() |
java.lang.String |
getSheetName() |
java.lang.String |
getToCell() |
int |
getWidth() |
int |
getXPosition(java.lang.String _subrange) |
int |
getYPosition(java.lang.String _subrange) |
boolean |
hasCell() |
boolean |
hasRange() |
boolean |
hasSheetName() |
boolean |
isCellOk(java.lang.String _cell) |
boolean |
isSheetNameOk() |
static boolean |
isSheetNameOk(java.lang.String _sheetName) |
java.lang.String |
numTo26Sys(int _num) |
java.lang.String |
removeString(java.lang.String _source,
java.lang.String _match) |
java.lang.String |
replaceString(java.lang.String _source,
java.lang.String _oldPattern,
java.lang.String _newPattern) |
void |
setSize(int _width,
int _height) |
public RangeAddress(java.lang.String _url)
i.e. Sheet1!$A$4:$B$9
_url
- public RangeAddress(int _startCol, int _startRow, int _endCol, int _endRow)
public java.lang.String getAddress()
public java.lang.String getSheetName()
public java.lang.String getRange()
public boolean isCellOk(java.lang.String _cell)
public boolean isSheetNameOk()
public static boolean isSheetNameOk(java.lang.String _sheetName)
public java.lang.String getFromCell()
public java.lang.String getToCell()
public int getWidth()
public int getHeight()
public void setSize(int _width, int _height)
public boolean hasSheetName()
public boolean hasRange()
public boolean hasCell()
public int getYPosition(java.lang.String _subrange)
public int getXPosition(java.lang.String _subrange)
public java.lang.String getDigitPart(java.lang.String _value)
public java.lang.String getCharPart(java.lang.String _value)
public int get26Sys(java.lang.String _s)
public java.lang.String numTo26Sys(int _num)
public java.lang.String replaceString(java.lang.String _source, java.lang.String _oldPattern, java.lang.String _newPattern)
public java.lang.String removeString(java.lang.String _source, java.lang.String _match)
Copyright © 2014 Open Microscopy Environment