|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.oktiva.mogno.Component
com.oktiva.mogno.Visual
com.oktiva.mogno.html.Input
com.oktiva.mogno.additional.DateInput
Field Summary | |
java.lang.String |
format
The format of the date. |
Fields inherited from class com.oktiva.mogno.html.Input |
accept, accesskey, alt, checked, dir, disabled, evOnChange, evOnClick, ismap, label, lang, maxlength, onblur, onchange, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onselect, radiogroup, readonly, required, size, src, tabindex, type, uploadContentType, uploadInputStream, usemap, value, x, y |
Fields inherited from class com.oktiva.mogno.Visual |
evOnShow, evOnSyntaxError, gridHeight, gridWeightX, gridWeightY, gridWidth, id, lastError, left, parent, problematic, style, styleClass, title, top |
Fields inherited from class com.oktiva.mogno.Component |
bag, componentFiler, componentFilerParams, designing, eventQueue, evOnCreate, name, owned, ownedClasses, owner, tag, xmlFileName |
Constructor Summary | |
DateInput()
Creates a new instance of DateInput |
Method Summary | |
void |
checkSyntax()
Check the syntax for this component. |
java.util.Date |
getDateValue()
Return the value as an Date object. |
java.lang.String |
getFormat()
|
java.util.GregorianCalendar |
getGregorianCalendarValue()
Return the value as an GregorianCalendar object. |
java.util.Vector |
nonAttributeGetters()
Method used to define what methods started with "get" or "is" are not component attributes getter methods. |
void |
receiveRequest(javax.servlet.http.HttpServletRequest request)
Receive the request and rebuild the properties using the data that the user has filled in. |
void |
setDateValue(java.util.Date value)
Set the value of the input passing a Date object |
void |
setFormat(java.lang.String format)
|
void |
setValue(java.util.Date value)
|
Methods inherited from class com.oktiva.mogno.Component |
attribsHash, createOwnedComponents, dispatch, dispatchAll, dispatchFunction, eventParamTypes, eventParamValues, freeChild, getApplication, getAttrsTypes, getBag, getChild, getChildClass, getClone, getEvOnCreate, getFromBag, getName, getOrderedChildNames, getOwner, initialize, initialize, initialize, initialize, isDesigning, listChilds, putInBag, queue, registerChild, removeFromBag, serializedBag, setBag, setComponentFiler, setComponentFilerParams, setDesigning, setEvOnCreate, setName, setOwner, setProperties, store, unserializeBag |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.String format
Constructor Detail |
public DateInput()
Method Detail |
public java.lang.String getFormat()
public void setFormat(java.lang.String format)
public void receiveRequest(javax.servlet.http.HttpServletRequest request)
Visual
receiveRequest
in class Input
public void checkSyntax() throws SyntaxErrorException
Visual
checkSyntax
in class Input
SyntaxErrorException
public java.util.GregorianCalendar getGregorianCalendarValue() throws SyntaxErrorException
SyntaxErrorException
- If the content of the value
attribute don't represent an valid GregorianCalendar.public java.util.Date getDateValue() throws SyntaxErrorException
getGregorianCalendarValue().getTime()
SyntaxErrorException
- If the content of the value
attribute don't represent an valid GregorianCalendar and Date.public void setDateValue(java.util.Date value)
public void setValue(java.util.Date value)
public java.util.Vector nonAttributeGetters()
Component
Vector v = super.nonAttributeGetters();
return v;
nonAttributeGetters
in class Input
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |