BasicMonthViewUI
public abstract class MonthViewUI extends ComponentUI
Constructor | Description |
---|---|
MonthViewUI() |
Modifier and Type | Method | 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 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.
Copyright © 2018. All rights reserved.