public abstract class MonthViewUI extends ComponentUI
Constructor and Description |
---|
MonthViewUI() |
Modifier and Type | Method and Description |
---|---|
abstract Date |
getDayAtLocation(int x,
int y)
Returns the Date at the given location.
|
abstract String[] |
getDaysOfTheWeek()
Returns an array of String to use as names for the days of the week.
|
abstract Date |
getLastDisplayedDay()
Returns the last possible date that can be displayed.
|
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
public MonthViewUI()
public abstract String[] getDaysOfTheWeek()
public abstract Date getDayAtLocation(int x, int y)
x
- the x position of the location in pixely
- the y position of the location in pixelpublic abstract Date getLastDisplayedDay()
It's up to the UI to keep this property, based on internal state and the firstDisplayed as controlled by the JXMonthView.
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses