public class RangeAddress extends Object
Description: provides connectivity utilities for ranges
REFERENCE:
Modifier and Type | Field and Description |
---|---|
(package private) String |
m_cellFrom |
(package private) String |
m_cellTo |
(package private) String |
m_sheetName |
(package private) static int |
MAX_HEIGHT |
(package private) static char |
SO_FORMNAME_ENCLOSURE |
(package private) static int |
WRONG_POS |
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 |
---|---|
private String |
filter$(String _range) |
int |
get26Sys(String _s) |
String |
getAddress() |
String |
getCharPart(String _value) |
String |
getDigitPart(String _value) |
private int |
getFirstDigitPosition(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() |
private void |
init(String _url) |
private static boolean |
intern_isSheetNameOk(String _sheetName,
boolean _canBeWaitSpace) |
boolean |
isCellOk(String _cell) |
private static boolean |
isLetter(String _str) |
boolean |
isSheetNameOk() |
static boolean |
isSheetNameOk(String _sheetName) |
String |
numTo26Sys(int _num) |
private String[] |
parseURL(String _url) |
String |
removeString(String _source,
String _match) |
String |
replaceString(String _source,
String _oldPattern,
String _newPattern) |
void |
setSize(int _width,
int _height) |
static final int WRONG_POS
static final int MAX_HEIGHT
static final char SO_FORMNAME_ENCLOSURE
String m_sheetName
String m_cellFrom
String m_cellTo
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()
private static boolean intern_isSheetNameOk(String _sheetName, boolean _canBeWaitSpace)
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()
private void init(String _url)
public int getYPosition(String _subrange)
private static boolean isLetter(String _str)
public int getXPosition(String _subrange)
private int getFirstDigitPosition(String _value)
public int get26Sys(String _s)
public String numTo26Sys(int _num)
Copyright © 2016 Open Microscopy Environment