Constructor and Description |
---|
DateAndTimeComponent(int value) |
DateAndTimeComponent(TableElement tableElement,
String pattern) |
Modifier and Type | Method and Description |
---|---|
abstract int |
getGregorianCalendarField()
Returns the corresponding Gregorian calendar field
for this component
|
int |
getParsedValue(Cell measuredValuePosition)
Returns either the manually set value or
the value of this component in the table
|
TableElement |
getTableElement() |
int |
getValue() |
void |
mark()
Colours the particular date&time component
|
int |
parse(String s)
Converts a String along a given pattern into the value of this component
|
void |
setTableElement(TableElement tableElement) |
void |
setValue(int value) |
String |
toString() |
getMissingComponentPanel
public DateAndTimeComponent(TableElement tableElement, String pattern)
public DateAndTimeComponent(int value)
public void setValue(int value)
public int getValue()
public void setTableElement(TableElement tableElement)
public TableElement getTableElement()
public void mark()
public int getParsedValue(Cell measuredValuePosition) throws ParseException
ParseException
public int parse(String s) throws ParseException
s
- ParseException
public abstract int getGregorianCalendarField()
Copyright © 2011–2019 52°North. All rights reserved.