public abstract class MonthViewUI
extends javax.swing.plaf.ComponentUI
Constructor and Description |
---|
MonthViewUI() |
Modifier and Type | Method and Description |
---|---|
abstract java.util.Date |
getDayAtLocation(int x,
int y)
Returns the Date at the given location.
|
abstract java.lang.String[] |
getDaysOfTheWeek()
Returns an array of String to use as names for the days of the week.
|
abstract java.util.Date |
getLastDisplayedDay()
Returns the last possible date that can be displayed.
|
public abstract java.lang.String[] getDaysOfTheWeek()
public abstract java.util.Date getDayAtLocation(int x, int y)
x
- the x position of the location in pixely
- the y position of the location in pixelpublic abstract java.util.Date getLastDisplayedDay()
It's up to the UI to keep this property, based on internal state and the firstDisplayed as controlled by the JXMonthView.