|
jBPM Console NG - Generic Client 6.1.0-SNAPSHOT | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
org.jbpm.console.ng.gc.client.util.UTCTimeBoxImplShared
public abstract class UTCTimeBoxImplShared
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
| Field Summary | |
|---|---|
protected static String[] |
fallbackFormatStrings
|
protected static com.google.gwt.i18n.client.DateTimeFormat[] |
fallbackTimeFormats
|
protected com.google.gwt.i18n.client.DateTimeFormat |
timeFormat
|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
UTCTimeBoxImplShared()
|
|
| Method Summary | |
|---|---|
protected static String |
formatUsingFormat(Long value,
com.google.gwt.i18n.client.DateTimeFormat fmt)
Formats the value provided with the specified DateTimeFormat |
protected static long |
normalizeInLocalRange(long time)
|
protected static Long |
parseUsingFallbacks(String text,
com.google.gwt.i18n.client.DateTimeFormat primaryTimeFormat)
|
protected static Long |
parseUsingFallbacksWithColon(String text,
com.google.gwt.i18n.client.DateTimeFormat timeFormat)
Attempts to insert a colon so that a value without a colon can be parsed. |
protected static Long |
parseUsingFormat(String text,
com.google.gwt.i18n.client.DateTimeFormat fmt)
|
void |
setTimeFormat(com.google.gwt.i18n.client.DateTimeFormat timeFormat)
Sets the DateTimeFormat for this UTCTimeBox. |
void |
setValue(Long value)
Sets the time value (as milliseconds since midnight independent of time zone) |
void |
setVisibleLength(int length)
Sets the visible length of the time input. |
protected Long |
text2value(String text)
|
void |
validate()
Validates the value that has been typed into the text input. |
protected String |
value2text(Long value)
|
| Methods inherited from class com.google.gwt.user.client.ui.Composite |
|---|
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jbpm.console.ng.gc.client.util.UTCTimeBoxImpl |
|---|
setTabIndex |
| Methods inherited from interface com.google.gwt.user.client.ui.IsWidget |
|---|
asWidget |
| Methods inherited from interface com.google.gwt.user.client.ui.HasValue |
|---|
getValue, setValue |
| Methods inherited from interface com.google.gwt.event.logical.shared.HasValueChangeHandlers |
|---|
addValueChangeHandler |
| Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
|---|
fireEvent |
| Methods inherited from interface com.google.gwt.user.client.ui.HasText |
|---|
getText, setText |
| Field Detail |
|---|
protected static com.google.gwt.i18n.client.DateTimeFormat[] fallbackTimeFormats
protected static String[] fallbackFormatStrings
protected com.google.gwt.i18n.client.DateTimeFormat timeFormat
| Constructor Detail |
|---|
public UTCTimeBoxImplShared()
| Method Detail |
|---|
public void setTimeFormat(com.google.gwt.i18n.client.DateTimeFormat timeFormat)
setTimeFormat in interface UTCTimeBoxImplpublic void setVisibleLength(int length)
setVisibleLength in interface UTCTimeBoxImplpublic void validate()
validate in interface UTCTimeBoxImplpublic final void setValue(Long value)
setValue in interface com.google.gwt.user.client.TakesValue<Long>setValue in interface com.google.gwt.user.client.ui.HasValue<Long>protected final String value2text(Long value)
protected final Long text2value(String text)
protected static final String formatUsingFormat(Long value,
com.google.gwt.i18n.client.DateTimeFormat fmt)
protected static final Long parseUsingFallbacksWithColon(String text,
com.google.gwt.i18n.client.DateTimeFormat timeFormat)
protected static final Long parseUsingFormat(String text,
com.google.gwt.i18n.client.DateTimeFormat fmt)
protected static final Long parseUsingFallbacks(String text,
com.google.gwt.i18n.client.DateTimeFormat primaryTimeFormat)
protected static long normalizeInLocalRange(long time)
|
jBPM Console NG - Generic Client 6.1.0-SNAPSHOT | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||