is.idega.idegaweb.golf.templates.page
Class GolfWindow

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.Page
                      extended by com.idega.presentation.ui.Window
                          extended by is.idega.idegaweb.golf.templates.page.GolfWindow
All Implemented Interfaces:
com.idega.presentation.PresentationObjectType, com.idega.repository.data.PropertyDescriptionHolder, java.lang.Cloneable, javax.faces.component.StateHolder
Direct Known Subclasses:
AdminRegisterTeeTimeWindow, AdminRegisterTime, BlockStartingtimeWindow, BlockTeeTime, ChangeGroupWindow, ChangePositionWindow, DismissWindow, FieldEditor, FieldHandicapCalculator, GroupScorecardWindow, HandicapFindMember, HandicapRegisterForeign, HandicapRegisterWindow, HandicapScore, HandicapStatistics, HandicapUtility, HoleView, MemberCorrectWindow, MemberDelete, MemberEditor, MemberSearchWindow, ModifyStartingtimeWindow, RegistrationForMembersWindow, TeeTimeReportWindow, TournamentAdministratorWindow, TournamentCheckerWindow, TournamentDeleteWindow, TournamentGroupsWindow, TournamentHandicapUpdateWindow, TournamentInfoWindow, TournamentTourTournamentAdderWindow, UnionCorrectWindow, UnregisterTimeWindow

public class GolfWindow
extends com.idega.presentation.ui.Window


Field Summary
protected  com.idega.idegaweb.IWBundle _iwb
           
protected  com.idega.idegaweb.IWResourceBundle _iwrb
           
 
Fields inherited from class com.idega.presentation.Page
DOCTYPE_HTML_4_0_1_STRICT, DOCTYPE_HTML_4_0_1_TRANSITIONAL, DOCTYPE_XHTML_1_0_TRANSITIONAL, DOCTYPE_XHTML_1_1, HTML, IW_FRAME_CLASS_PARAMETER, IW_FRAME_NAME_PARAMETER, IW_FRAME_STORAGE_PARMETER, IW_FRAMESET_PAGE_PARAMETER, IW_PAGE_KEY, PRM_IW_BROWSE_EVENT_SOURCE, ROWS_PROPERTY, XHTML, XHTML1_1
 
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
GolfWindow()
           
GolfWindow(java.lang.String name, int width, int height)
           
GolfWindow(java.lang.String name, int width, int height, boolean showMenu)
           
 
Method Summary
 void _main(com.idega.presentation.IWContext modinfo)
           
 void add(com.idega.presentation.PresentationObject objectToAdd)
           
 void addHeading(java.lang.String headingText)
           
 void addMenuLink(com.idega.presentation.text.Link menuLink, boolean current)
           
 java.lang.Object clone()
           
protected  void doIn_main(com.idega.presentation.IWContext iwc)
           
 void empty()
           
 void emptyMenu()
           
 java.lang.String getBundleIdentifier()
           
 void initializeInMain(com.idega.presentation.IWContext iwc)
           
protected  boolean isAdmin(com.idega.presentation.IWContext modinfo)
           
protected  boolean isClubAdmin(com.idega.presentation.IWContext modinfo)
           
protected  boolean isClubWorker(com.idega.presentation.IWContext modinfo)
           
 boolean isShowMenu()
           
 java.lang.String localize(java.lang.String[] text)
           
 java.lang.String localize(java.lang.String textKey, java.lang.String defaultText)
           
protected  void setGolfClassToInstanciate(java.lang.Class c)
           
 void setShowMenu(boolean showMenu)
           
 
Methods inherited from class com.idega.presentation.ui.Window
doPrint, getCallingScript, getCallingScript, getCallingScript, getCallingScriptString, getCallingScriptString, getCallingScriptString, getCallingScriptString, getCallingScriptString, getCallingScriptString, getCallingScriptStringForForm, getCoordinateX, getCoordinateY, getHeight, getIWMainApplication, getLocalizedTitle, getName, getPublicWindowURL, getPublicWindowURLWithParameters, getStaticInstance, getTarget, getTitle, getURL, getWidth, getWindowArgumentCallingScript, getWindowArgumentCallingScript, getWindowCallingScript, getWindowCallingScript, getWindowHeight, getWindowURL, getWindowURLWithParameter, getWindowURLWithParameters, getWindowURLWithParameters, getWindowWidth, initInMain, isFocusAllowedOnLoad, restoreState, saveState, setAlinkColor, setBackgroundColor, setBackgroundImage, setBackgroundImage, setClassToInstanciate, setClassToInstanciate, setCoordinateX, setCoordinateY, setDirectories, setFullScreen, setHeight, setHeight, setLeftMargin, setLinkColor, setLocation, setMarginHeight, setMarginWidth, setMenubar, setMousePositionOffsets, setResizable, setScrollbar, setStatus, setTextColor, setTitle, setTitlebar, setToMousePosition, setToolbar, setTopMargin, setURL, setVlinkColor, setWidth, setWidth
 
Methods inherited from class com.idega.presentation.Page
addJavaScriptAction, addJavaScriptAfterJavaScriptURLs, addJavaScriptBeforeJavaScriptURLs, addJavascriptURL, addNotifications, addScriptSource, addSessionPollingDWRFiles, addStyleSheetURL, addStyleSheetURL, addStyleSheetURLForPrint, clone, clonePermissionChecked, close, close, enableChromeFrame, enableReverseAjax, encodeBegin, encodeChildren, encodeEnd, encodeRenderTime, getAssociatedBodyScript, getAssociatedScript, getDocType, getDynamicPageTrigger, getEndTag, getHeadContents, getHeadContents, getHTTPEquivTag, getIE7, getIsDraft, getIsExtendingTemplate, getIsPage, getIsTemplate, getJavascriptURLs, getMarkupLanguageForPage, getMetaInformation, getMetaTag, getMetaTags, getPage, getPageFontFace, getPageFontSize, getPageFontStyle, getPageID, getPropertyDescriptions, getRedirectInfo, getShortCutIconID, getShortCutIconURL, getStartTag, getStyleAttribute, getStyleDefinition, getTemplateId, getUseIE7Extension, includeJavaScriptActions, initVariables, isChildOfOtherPage, isHideBuilder, isInFrameSet, isPrintScriptSourcesDirectly, isRequestingTopPage, isXHtmlDocTypeDeclared, keepFocus, loadPage, main, prepareClone, print, printBegin, printEnd, removeJavaScriptFromJavascriptAfterJavaScriptsUrlsMap, removeJavaScriptFromJavascriptBeforeJavaScriptsUrlsMap, setAddBody, setAddGlobalScript, setAlertOnLoad, setAlertOnUnLoad, setAllMargins, setAssociatedBodyScript, setAssociatedScript, setBackgroundColor, setDescriptionMetaTag, setDoctype, setExpiryDate, setHideBuilder, setHoverColor, setHoverDecoration, setHTTPEquivTag, setIsCategory, setIsDraft, setIsExtendingTemplate, setIsPage, setIsTemplate, setJavascriptURLs, setKeywordsMetaTag, setLinkHoverStyle, setLinkStyle, setLocalizedTitle, setMetaTag, setOnBlur, setOnLoad, setOnUnLoad, setPageFontFace, setPageFontSize, setPageFontStyle, setPageID, setPageStyle, setParentPageFormToSubmitOnUnLoad, setParentPageFormToSubmitOnUnLoad, setParentPageMainFormToSubmitOnUnLoad, setParentToRedirect, setParentToReload, setParentToReloadWithURL, setPrintScriptSourcesDirectly, setProperty, setShortCutIconID, setShortCutIconURL, setStyleDefinition, setStyleInStyleSheet, setStyleSheet, setStyleSheetURL, setTemplateId, setTextDecoration, setToClose, setToForwardToPage, setToGoBack, setToLoadAlert, setTopPage, setToRedirect, setToRedirect, setToReload, setUseHtmlTag, setUseIE7Extension, setWindowToOpenOnLoad, setWindowToOpenOnLoad, setWindowToOpenOnLoad, storePage
 
Methods inherited from class com.idega.presentation.PresentationObjectContainer
add, add, add, add, add, addAtBeginning, addBreak, addChild, addChild, addObject, addText, addText, addText, clearChildren, cloneJSFChildren, cloneJSFFacets, getChild, getChildren, getChildrenCount, getChildrenRecursive, getContainedLabeledObject, getContainedObject, getContainedObject, getIndex, getLabel, insertAt, isContainer, isEmpty, isLocked, lock, numberOfObjects, objectAt, remove, remove, removeAll, removeChild, resetAllContainedObjectsRecursive, set, setChildren, setLabel, setLocation, unlock
 
Methods inherited from class com.idega.presentation.PresentationObject
_print, addActionListener, addIWActionListener, addIWLinkListener, addIWSubmitListener, addMarkupAttributes, allowPagePermissionInheritance, callMain, callPrint, castToIWContext, changeInstanceIdForInheritedObject, changeState, cleanVariables, cloneJSFFacets, clonePermissionChecked, debug, debugEventListanerList, debugParameters, decode, dispatchEvent, encodeSpecialRequestString, endEvent, equals, equals, fireEvent, flush, generateID, 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, 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, getParent, getParentForm, getParentObject, getParentObjectInstance, getParentObjectInstanceID, getParentPage, getParentPageID, getPrintWriter, getRendersChildren, getRequest, getResourceBundle, getResponse, getRootParent, getSetApplicationMarkupLanguage, getState, getStateInstance, getStyleAttribute, getStyleClass, getTemplateObject, getToolTip, getUseBuilderObjectControl, getUserProperties, getValueBindingByAttributeExp, getXmlId, goneThroughRenderPhase, isHeightSet, isMarkupAttributeSet, isRendered, isRestoredFromState, isWidthSet, isXhtmlSet, listenerAdded, listenerAdded, log, log, log, logConfig, logDebug, logError, logSevere, logWarning, mayGoThroughMain, print, println, processDecodes, processEvent, processIWLinkEvent, processIWSubmitEvent, processRestoreState, processSaveState, processUpdates, processValidators, removeActionListener, removeIWActionListener, removeMarkupAttribute, removeStyleAttribute, renderChild, renderComponent, resetBeforeMain, resetGoneThroughMain, resetGoneThroughMainInRestore, restoreFromReflectionProperties, setArtificialCompoundId, setAsPrinted, 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, setRenderedPhaseDone, setRenderedPhaseNotDone, setResetGoneThroughMainInRestore, setStyleAttribute, setStyleAttribute, setStyleClass, setSupportsMultipleMainCalls, setTemplateId, 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

_iwb

protected com.idega.idegaweb.IWBundle _iwb

_iwrb

protected com.idega.idegaweb.IWResourceBundle _iwrb
Constructor Detail

GolfWindow

public GolfWindow()

GolfWindow

public GolfWindow(java.lang.String name,
                  int width,
                  int height)

GolfWindow

public GolfWindow(java.lang.String name,
                  int width,
                  int height,
                  boolean showMenu)
Method Detail

isAdmin

protected boolean isAdmin(com.idega.presentation.IWContext modinfo)

isClubAdmin

protected boolean isClubAdmin(com.idega.presentation.IWContext modinfo)

isClubWorker

protected boolean isClubWorker(com.idega.presentation.IWContext modinfo)

add

public void add(com.idega.presentation.PresentationObject objectToAdd)
Overrides:
add in class com.idega.presentation.PresentationObjectContainer

addHeading

public void addHeading(java.lang.String headingText)

addMenuLink

public void addMenuLink(com.idega.presentation.text.Link menuLink,
                        boolean current)

emptyMenu

public void emptyMenu()

empty

public void empty()
Overrides:
empty in class com.idega.presentation.PresentationObject

getBundleIdentifier

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

initializeInMain

public void initializeInMain(com.idega.presentation.IWContext iwc)
                      throws java.lang.InstantiationException,
                             java.lang.IllegalAccessException
Overrides:
initializeInMain in class com.idega.presentation.PresentationObject
Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException

setGolfClassToInstanciate

protected void setGolfClassToInstanciate(java.lang.Class c)

_main

public void _main(com.idega.presentation.IWContext modinfo)
           throws java.lang.Exception
Overrides:
_main in class com.idega.presentation.PresentationObjectContainer
Throws:
java.lang.Exception

doIn_main

protected void doIn_main(com.idega.presentation.IWContext iwc)
                  throws java.lang.Exception
Throws:
java.lang.Exception

clone

public java.lang.Object clone()
Overrides:
clone in class com.idega.presentation.ui.Window

localize

public java.lang.String localize(java.lang.String textKey,
                                 java.lang.String defaultText)

localize

public java.lang.String localize(java.lang.String[] text)

isShowMenu

public boolean isShowMenu()

setShowMenu

public void setShowMenu(boolean showMenu)


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