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