|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectwicket.contrib.tinymce.settings.Enum
wicket.contrib.tinymce.settings.Plugin
wicket.contrib.tinymce.settings.DateTimePlugin
public class DateTimePlugin
The datetime plugin is able to insert date and time into the TinyMCE editable area.
| Constructor Summary | |
|---|---|
DateTimePlugin()
Construct datetime plugin. |
|
| Method Summary | |
|---|---|
protected void |
definePluginSettings(StringBuffer buffer)
Define configuration settings for this plugin. |
PluginButton |
getDateButton()
|
PluginButton |
getTimeButton()
|
void |
setDateFormat(String dateFormat)
Date variables: %y year as a decimal number without a century (range 00 to 99) %Y year as a decimal number including the century %d day of the month as a decimal number (range 01 to 31) %m month as a decimal number (range 01 to 12) %D same as %m/%d/%y %% a literal "%" character |
void |
setTimeFormat(String timeFormat)
Time variables: %r time in a.m. |
| Methods inherited from class wicket.contrib.tinymce.settings.Plugin |
|---|
define, definePluginExtensions, getPluginPath, setPluginPath |
| Methods inherited from class wicket.contrib.tinymce.settings.Enum |
|---|
equals, getName, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DateTimePlugin()
| Method Detail |
|---|
public PluginButton getDateButton()
public PluginButton getTimeButton()
public void setTimeFormat(String timeFormat)
timeFormat - the time formatpublic void setDateFormat(String dateFormat)
dateFormat - date formatprotected void definePluginSettings(StringBuffer buffer)
PluginI.e. the "paste" plugin can be configured with different settings such as: "paste_callback" etc.
definePluginSettings in class Pluginbuffer - buffer to append to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||