class AnalogTimePicker extends VPanel
Modifier and Type | Class and Description |
---|---|
(package private) class |
AnalogTimePicker.BaseLayout |
(package private) class |
AnalogTimePicker.DialLayout |
VControl.Type
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
am_pm |
(package private) boolean |
compact |
(package private) org.eclipse.swt.graphics.Point |
dialCenter |
(package private) VPanel |
dialPanel |
(package private) int |
dialRadius |
(package private) CDateTime |
digitalClock |
(package private) boolean |
hourHand |
(package private) long |
increment |
(package private) boolean |
is24Hour |
(package private) boolean |
minHand |
(package private) boolean |
overHour |
(package private) boolean |
overMin |
(package private) boolean |
overSec |
(package private) java.lang.String |
pattern |
(package private) boolean |
secHand |
(package private) boolean |
setH |
(package private) boolean |
setM |
(package private) boolean |
setS |
(package private) VButton |
timeAmPm |
(package private) VButton |
timeNow |
carbon, gtk, STATE_ACTIVE, STATE_ENABLED, STATE_MOUSE_DOWN, STATE_SELECTED, win32
Constructor and Description |
---|
AnalogTimePicker(CDateTime parent) |
AnalogTimePicker(CDateTime cdt,
DatePicker parent) |
Modifier and Type | Method and Description |
---|---|
protected void |
createContents() |
int[] |
getFields() |
(package private) long |
getIncrement() |
(package private) int[] |
getSnap()
Get the snap intervals used when setting the minutes and seconds.
|
void |
setFields(int[] calendarFields) |
boolean |
setFocus() |
(package private) void |
setIncrement(long millis) |
(package private) void |
setSnap(int min,
int sec)
Set the snap for the minutes and seconds.
|
boolean |
setStyle(int style,
boolean set) |
(package private) void |
updateLabels() |
(package private) void |
updateView() |
computeSize, dispose, getBorderWidth, getChildren, getControl, getControl, getLayout, getLayout, getType, getWidget, layout, layout, redrawOnActivate, redrawOnDeactivate, setActivatable, setBounds, setEnabled, setFocus, setLayout, setLayoutData, setSize, setVisibility, setVisible, setWidget, sort, updateColorsAndFont
addListener, computeSize, containsControl, createMenu, filterEvent, getBackground, getBounds, getClientArea, getClientSize, getComposite, getControl, getData, getData, getData, getData, getDisplay, getEnabled, getFont, getForeground, getImage, getLayoutData, getListeners, getLocation, getMargins, getMenu, getParent, getShell, getSize, getState, getStyle, getText, getToolTipText, getVisibility, getVisible, hasState, hasStyle, isActivatable, isDisposed, isEnabled, isSameWidgetAs, isSameWidgetAs, isSquare, isVisible, moveAbove, moveBelow, notifyListeners, notifyListeners, paintControl, redraw, removeListener, setActiveCursor, setAlignment, setAlpha, setAlpha, setBackground, setBounds, setCursor, setData, setData, setFill, setFont, setForeground, setImage, setImage, setInactiveCursor, setLocation, setLocation, setMargins, setMargins, setMargins, setOval, setOval, setPainter, setParent, setPolygon, setPolygon, setScaleImage, setSquare, setState, setStyle, setText, setToolTipText, setVisible, setVisible, toControl, toControl, toDisplay, toDisplay, toString, update
VPanel dialPanel
VButton timeNow
VButton timeAmPm
CDateTime digitalClock
int dialRadius
org.eclipse.swt.graphics.Point dialCenter
boolean setH
boolean setM
boolean setS
boolean overHour
boolean overMin
boolean overSec
boolean is24Hour
boolean hourHand
boolean minHand
boolean secHand
boolean am_pm
boolean compact
long increment
java.lang.String pattern
public AnalogTimePicker(CDateTime parent)
public AnalogTimePicker(CDateTime cdt, DatePicker parent)
protected void createContents()
public int[] getFields()
long getIncrement()
int[] getSnap()
#setTimeSnap(int, int)
public void setFields(int[] calendarFields)
void setIncrement(long millis)
void setSnap(int min, int sec)
min
- the snap interval for the minutessec
- the snap interval for the secondsgetSnap()
void updateLabels()
void updateView()