A control which allows the user to select a date.
fireDateEditEvent
protected void fireDateEditEvent(DateEditEvent event)
get24HourFormat
public boolean get24HourFormat()
Returns true if the control shows the time in the 24 hour format.
- True if time is being shown in the 24 hour format. Flase if the
time is being shown in the 12 hour format.
getEventListenerClass
public Class getEventListenerClass(String signal)
getEventType
public EventType getEventType(String signal)
getInitialTime
public Date getInitialTime()
getTime
public Date getTime()
Get the date/time indicated in the DateEdit control.
- the date/time.
getTimeDisplay
public boolean getTimeDisplay()
Returns true if the control shows the time as well as date.
- True if time is being shown. Flase if the date only is being
shown.
getType
public static Type getType()
Retrieve the runtime type used by the GLib library.
gnome_date_edit_get_flags
protected static final int gnome_date_edit_get_flags(Handle gde)
gnome_date_edit_get_initial_time
protected static final long gnome_date_edit_get_initial_time(Handle gde)
gnome_date_edit_get_time
protected static final long gnome_date_edit_get_time(Handle gde)
gnome_date_edit_get_type
protected static final int gnome_date_edit_get_type()
gnome_date_edit_new
protected static final Handle gnome_date_edit_new(long the_time,
boolean show_time,
boolean use_24_format)
gnome_date_edit_new_flags
protected static final Handle gnome_date_edit_new_flags(long the_time,
int flags)
gnome_date_edit_set_flags
protected static final void gnome_date_edit_set_flags(Handle gde,
int flags)
gnome_date_edit_set_popup_range
protected static final void gnome_date_edit_set_popup_range(Handle gde,
int low_hour,
int up_hour)
gnome_date_edit_set_time
protected static final void gnome_date_edit_set_time(Handle gde,
long the_time)
set24HourFormat
public void set24HourFormat(boolean enabled)
Change the way the time display is formated.
enabled
- True if time should be shown in 24 hour format. Flase if
the date should be shown in 12 hour format.
setPopupRange
public void setPopupRange(int lowHour,
int upHour)
setTime
public void setTime(Date date)
Set the date/time indicated in the DateEdit control.
date
- The date/time to display.
setTimeDisplay
public void setTimeDisplay(boolean enabled)
Enabled/Disable the functionallity which shows time as well as date.
enabled
- True if time should be shown. Flase if the date only
should be shown.