is.idega.idegaweb.golf.handicap.presentation.handler
Class HandicapHandler

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by com.idega.presentation.PresentationObject
              extended by com.idega.presentation.PresentationObjectContainer
                  extended by com.idega.presentation.ui.InterfaceObject
                      extended by com.idega.presentation.ui.GenericInput
                          extended by com.idega.presentation.ui.TextInput
                              extended by is.idega.idegaweb.golf.handicap.presentation.handler.HandicapHandler
All Implemented Interfaces:
com.idega.business.InputHandler, com.idega.presentation.PresentationObjectType, java.lang.Cloneable, javax.faces.component.StateHolder

public class HandicapHandler
extends com.idega.presentation.ui.TextInput
implements com.idega.business.InputHandler

Last modified: $Date: 2006/04/09 11:46:48 $ by $Author: laddi $

Version:
$Revision: 1.6 $
Author:
laddi

Field Summary
protected static java.lang.String IW_BUNDLE_IDENTIFIER
           
 
Fields inherited from class com.idega.presentation.ui.GenericInput
INPUT_TYPE_BUTTON, INPUT_TYPE_CHECKBOX, INPUT_TYPE_FILE, INPUT_TYPE_HIDDEN, INPUT_TYPE_IMAGE, INPUT_TYPE_PASSWORD, INPUT_TYPE_RADIO, INPUT_TYPE_RESET, INPUT_TYPE_SUBMIT, INPUT_TYPE_TEXT
 
Fields inherited from class com.idega.presentation.ui.InterfaceObject
ACTION_ON_BLUR, ACTION_ON_CHANGE, ACTION_ON_CLICK, ACTION_ON_FOCUS, ACTION_ON_KEY_DOWN, ACTION_ON_KEY_PRESS, ACTION_ON_KEY_UP, ACTION_ON_SELECT, ACTION_ON_SUBMIT, CONTENT_PROPERTY, DISABLED_PROPERTY, ID_PROPERTY, index, INDEX_PROPERTY, KEEP_STATUS_PROPERTY, keepStatus, NAME_PROPERTY, STYLE_CLASS_PROPERTY
 
Fields inherited from class com.idega.presentation.PresentationObjectContainer
_label, _locked, allObjects
 
Fields inherited from class com.idega.presentation.PresentationObject
_listenerList, attributes, childrenList, CLICK, COMPOUNDID_CHILD_NUMBER_DELIMITER, COMPOUNDID_COMPONENT_DELIMITER, CORE_IW_BUNDLE_IDENTIFIER, eventLocationString, facetMap, hasBeenAdded, HEIGHT, HORIZONTAL_ALIGNMENT, initializedInMain, listenerList, NULL_CLONE_OBJECT, sessionEventStorageName, slash, TARGET_OBJ_INS, treeID, WIDTH
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Constructor Summary
HandicapHandler()
           
 
Method Summary
 java.lang.Object convertSingleResultingObjectToType(java.lang.Object value, java.lang.String className)
           
 java.lang.String getBundleIdentifier()
           
 java.lang.String getDisplayForResultingObject(java.lang.Object value, com.idega.presentation.IWContext iwc)
           
 com.idega.presentation.PresentationObject getHandlerObject(java.lang.String name, java.util.Collection values, com.idega.presentation.IWContext iwc)
           
 com.idega.presentation.PresentationObject getHandlerObject(java.lang.String name, java.lang.String value, com.idega.presentation.IWContext iwc)
           
 java.lang.Object getResultingObject(java.lang.String[] value, com.idega.presentation.IWContext iwc)
           
 void main(com.idega.presentation.IWContext iwc)
           
 
Methods inherited from class com.idega.presentation.ui.TextInput
clone, encodeBegin, handleKeepStatus, restoreState, saveState, setAsAlphabetictext, setAsAlphabeticText, setAsCreditCardNumber, setAsCreditCardNumber, setAsDouble, setAsDouble, setAsDouble, setAsEmail, setAsEmail, setAsFloat, setAsFloat, setAsFloat, setAsIcelandicSSNumber, setAsIcelandicSSNumber, setAsIntegers, setAsIntegers, setAsNotEmpty, setAsNotEmpty, setAsPasswordInput, setAsPersonalID, setAsPositiveIntegers, setAsPosNegIntegers, setAutofocus, setDecimals, setEmptyConfirm, setLength, setMaxlength, setMininumLength, setNextInput, setPattern, setPlaceholder, setSize, setToDisableOnWhenNotEmpty
 
Methods inherited from class com.idega.presentation.ui.GenericInput
getAccessKey, getDefinedWmlAttributes, getInputType, isContainer, normalPrintSequence, print, printWML, setAccessKey, setAutoComplete, setInputType
 
Methods inherited from class com.idega.presentation.ui.InterfaceObject
_main, _print, callPrint, getContent, getDescription, getDisabled, getForm, getIndex, getOnBlur, getOnChange, getOnClick, getOnFocus, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnSelect, getOnSubmit, getReadOnly, getScript, getTabIndex, getValueAsString, hasParentPage, isEnclosedByForm, keepStatusOnAction, keepStatusOnAction, keepStatusOnAction, setCheckSubmit, setContent, setDescription, setDisabled, setHeight, setIndex, setInFocusOnPageLoad, setKeepStatus, setKeepStatus, setMaximumChecked, setOnAction, setOnBlur, setOnChange, setOnClick, setOnFocus, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnSelect, setOnSubmit, setOnSubmitFunction, setOnSubmitFunction, setOnSubmitFunction, setReadOnly, setRequired, setSelectedOnAction, setSelectedOnAction, setTabIndex, setToCheckOnAction, setToCheckOnAction, setToCheckOnAction, setToCheckOnClick, setToCheckOnClick, setToCheckOnClick, setToCheckOnClick, setToCheckOnClick, setToCheckOnClick, setToDisableOnAction, setToDisableOnAction, setToDisableOnClick, setToDisableOnClick, setToDisableOnClick, setToDisableOnClick, setToSubmit, setValue, setValue, setValueOnAction, setValueOnAction, setValueOnActionFollowedByScript, setValueOnChange, setValueOnChange, setValueOnClick, setValueOnClick, setValueOnClickFollowedByScript, setWidth, statusKeptOnAction
 
Methods inherited from class com.idega.presentation.PresentationObjectContainer
add, add, add, add, add, add, addAtBeginning, addBreak, addChild, addChild, addObject, addText, addText, addText, clearChildren, clone, cloneJSFChildren, cloneJSFFacets, clonePermissionChecked, encodeChildren, getChild, getChildren, getChildrenCount, getChildrenRecursive, getContainedLabeledObject, getContainedObject, getContainedObject, getIndex, getLabel, initVariables, insertAt, isEmpty, isLocked, lock, numberOfObjects, objectAt, remove, remove, removeAll, removeChild, resetAllContainedObjectsRecursive, set, setChildren, setLabel, setLocation, unlock
 
Methods inherited from class com.idega.presentation.PresentationObject
addActionListener, addIWActionListener, addIWLinkListener, addIWSubmitListener, addMarkupAttributes, allowPagePermissionInheritance, callMain, castToIWContext, changeInstanceIdForInheritedObject, changeState, cleanVariables, cloneJSFFacets, clonePermissionChecked, debug, debugEventListanerList, debugParameters, decode, dispatchEvent, doPrint, empty, encodeEnd, encodeSpecialRequestString, endEvent, equals, equals, fireEvent, flush, generateID, getAssociatedScript, getAttribute, getAttributeMap, getAttributes, getAttributesString, getBelongsToParent, getBuilderName, getBuilderService, getBundle, getChangeInstanceIDOnInheritance, getChildCount, getClassName, getComponentId, getComponentType, getCompoundId, getDebugLogLevel, getDefaultLogLevel, getDefaultState, getErrorLogLevel, getErrorMessage, getEventAttribute, getEventIWContext, getEventListener, getEventListenerList, getEventListenerList, getExpressionValue, getFacet, getFacets, getFacetsAndChildren, getFamily, getHeight, getHorizontalAlignment, getICFileSystem, getICInstance, getICObject, getICObject, getICObjectID, getICObjectID, getICObjectInstance, getICObjectInstance, getICObjectInstanceID, getICObjectInstanceID, getId, getID, getIWApplicationContext, getIWLinkListeners, getIWSubmitListeners, getIWUserContext, getLanguage, getLocalizedString, getLocalizedString, getLocation, getLogger, getMarkupAttribute, getMarkupAttributes, getMarkupAttributesString, getMarkupLanguage, getName, getParent, getParentForm, getParentObject, getParentObjectInstance, getParentObjectInstanceID, getParentPage, getParentPageID, getPrintWriter, getRendersChildren, getRequest, getResourceBundle, getResponse, getRootParent, getSetApplicationMarkupLanguage, getState, getStateInstance, getStyleAttribute, getStyleClass, getTemplateId, getTemplateObject, getTitle, getToolTip, getUseBuilderObjectControl, getUserProperties, getValueBindingByAttributeExp, getWidth, getXmlId, goneThroughRenderPhase, initializeInMain, initInMain, isHeightSet, isMarkupAttributeSet, isRendered, isRestoredFromState, isWidthSet, isXhtmlSet, listenerAdded, listenerAdded, log, log, log, logConfig, logDebug, logError, logSevere, logWarning, mayGoThroughMain, prepareClone, print, println, processDecodes, processEvent, processIWLinkEvent, processIWSubmitEvent, processRestoreState, processSaveState, processUpdates, processValidators, removeActionListener, removeIWActionListener, removeMarkupAttribute, removeStyleAttribute, renderChild, renderComponent, resetBeforeMain, resetGoneThroughMain, resetGoneThroughMainInRestore, restoreFromReflectionProperties, setArtificialCompoundId, setAsPrinted, setAssociatedScript, setBelongsToParent, setBuilderIds, setChangeInstanceIDOnInheritance, setDefaultState, setDoPrint, setErrorMessage, setEventAttribute, setGoneThroughMain, setHeightStyle, setHorizontalAlignment, setICObject, setICObjectID, setICObjectInstance, setICObjectInstanceID, setID, setID, setId, setID, setLocation, setMarkupAttribute, setMarkupAttribute, setMarkupAttribute, setMarkupAttributeMultivalued, setMarkupAttributeMultivalued, setMarkupAttributeMultivalued, setMarkupAttributeMultivalued, setMarkupAttributes, setMarkupAttributeWithoutValue, setName, setParent, setParentObject, setProperty, setRenderedPhaseDone, setRenderedPhaseNotDone, setResetGoneThroughMainInRestore, setStyleAttribute, setStyleAttribute, setStyleClass, setSupportsMultipleMainCalls, setTemplateId, setTemplateId, setTitle, setToolTip, setToRenderForLoggedIn, setToRenderForLoggedOut, setUseBuilderObjectControl, setVisible, setWidthStyle, supportsMultipleMainCalls, xhtmlEncode
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, findComponent, getClientId, getFacesContext, getFacesListeners, getFacetCount, getRenderer, getRendererType, getValueBinding, invokeOnComponent, isTransient, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId, getValueExpression, setValueExpression
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IW_BUNDLE_IDENTIFIER

protected static java.lang.String IW_BUNDLE_IDENTIFIER
Constructor Detail

HandicapHandler

public HandicapHandler()
Method Detail

main

public void main(com.idega.presentation.IWContext iwc)
          throws java.lang.Exception
Overrides:
main in class com.idega.presentation.ui.TextInput
Throws:
java.lang.Exception

getBundleIdentifier

public java.lang.String getBundleIdentifier()
Overrides:
getBundleIdentifier in class com.idega.presentation.PresentationObject

getHandlerObject

public com.idega.presentation.PresentationObject getHandlerObject(java.lang.String name,
                                                                  java.lang.String value,
                                                                  com.idega.presentation.IWContext iwc)
Specified by:
getHandlerObject in interface com.idega.business.InputHandler

getHandlerObject

public com.idega.presentation.PresentationObject getHandlerObject(java.lang.String name,
                                                                  java.util.Collection values,
                                                                  com.idega.presentation.IWContext iwc)
Specified by:
getHandlerObject in interface com.idega.business.InputHandler

getResultingObject

public java.lang.Object getResultingObject(java.lang.String[] value,
                                           com.idega.presentation.IWContext iwc)
                                    throws java.lang.Exception
Specified by:
getResultingObject in interface com.idega.business.InputHandler
Throws:
java.lang.Exception

getDisplayForResultingObject

public java.lang.String getDisplayForResultingObject(java.lang.Object value,
                                                     com.idega.presentation.IWContext iwc)
Specified by:
getDisplayForResultingObject in interface com.idega.business.InputHandler

convertSingleResultingObjectToType

public java.lang.Object convertSingleResultingObjectToType(java.lang.Object value,
                                                           java.lang.String className)
Specified by:
convertSingleResultingObjectToType in interface com.idega.business.InputHandler


Copyright © 2000-2014 idega software. All Rights Reserved.