org.nuiton.wikitty.ui
Class LoginController
java.lang.Object
org.zkoss.zk.ui.event.GenericEventListener
org.zkoss.zk.ui.util.GenericComposer
org.zkoss.zk.ui.util.GenericAutowireComposer
org.zkoss.zk.ui.util.GenericForwardComposer
org.nuiton.wikitty.ui.LoginController
- All Implemented Interfaces:
- Serializable, org.zkoss.zk.ui.event.EventListener, org.zkoss.zk.ui.util.ComponentActivationListener, org.zkoss.zk.ui.util.ComponentCloneListener, org.zkoss.zk.ui.util.Composer, org.zkoss.zk.ui.util.ComposerExt
public class LoginController
- extends org.zkoss.zk.ui.util.GenericForwardComposer
- Author:
- sherkhan
- See Also:
- Serialized Form
| Fields inherited from class org.zkoss.zk.ui.util.GenericAutowireComposer |
_separator, application, applicationScope, arg, componentScope, desktop, desktopScope, execution, page, pageScope, param, requestScope, self, session, sessionScope, spaceOwner, spaceScope |
| Fields inherited from class org.zkoss.zk.ui.util.GenericComposer |
_applied |
| Methods inherited from class org.zkoss.zk.ui.util.GenericAutowireComposer |
alert, didActivate, willClone |
| Methods inherited from class org.zkoss.zk.ui.util.GenericComposer |
doBeforeCompose, doBeforeComposeChildren, doCatch, doFinally, willPassivate |
| Methods inherited from class org.zkoss.zk.ui.event.GenericEventListener |
bindComponent, getController, onEvent, unbindComponent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.zkoss.zk.ui.util.ComponentActivationListener |
willPassivate |
_proxyModel
protected ProxyModel _proxyModel
dataList
protected org.zkoss.zul.Listbox dataList
_config
protected org.nuiton.util.ApplicationConfig _config
_properties
protected Properties _properties
LoginController
public LoginController()
throws IOException
- Throws:
IOException
doAfterCompose
public void doAfterCompose(org.zkoss.zk.ui.Component comp)
throws Exception
- Specified by:
doAfterCompose in interface org.zkoss.zk.ui.util.Composer- Overrides:
doAfterCompose in class org.zkoss.zk.ui.util.GenericForwardComposer
- Throws:
Exception
initConfig
public void initConfig()
disableUpdateButtons
protected void disableUpdateButtons()
enableLocalUpdateButton
protected void enableLocalUpdateButton()
enableDistantUpdateButton
protected void enableDistantUpdateButton()
saveNewData
protected void saveNewData(Data data)
throws FileNotFoundException,
IOException
- Throws:
FileNotFoundException
IOException
saveUpdateData
protected void saveUpdateData(Data data)
throws IOException
- Throws:
IOException
loadProperties
protected void loadProperties()
throws IOException
- Throws:
IOException
saveProperties
protected void saveProperties()
throws IOException
- Throws:
IOException
createProxyDatas
protected void createProxyDatas()
removeDataFromProperties
protected void removeDataFromProperties(Data data)
createLocalProxy
protected WikittyProxy createLocalProxy(Properties properties,
String login,
String password)
goToWikittyPage
protected void goToWikittyPage(WikittyProxy proxy)
fillDistantProxy
protected void fillDistantProxy(Data data)
fillLocalProxy
protected void fillLocalProxy(Data data)
clearAllLocalFields
protected void clearAllLocalFields()
clearAllDistantFields
protected void clearAllDistantFields()
onSelect$dataList
public void onSelect$dataList()
onClick$modify
public void onClick$modify()
onClick$update
public void onClick$update()
throws IOException
- Throws:
IOException
onClick$distantUpdate
public void onClick$distantUpdate()
throws IOException
- Throws:
IOException
onClick$select
public void onClick$select()
throws org.nuiton.util.ArgumentsParserException
- Throws:
org.nuiton.util.ArgumentsParserException
onClick$add
public void onClick$add()
throws FileNotFoundException,
IOException
- Throws:
FileNotFoundException
IOException
onClick$distantAdd
public void onClick$distantAdd()
throws FileNotFoundException,
IOException
- Throws:
FileNotFoundException
IOException
onClick$delete
public void onClick$delete()
throws IOException
- Throws:
IOException
getDataRenderer
public org.zkoss.zul.ListitemRenderer getDataRenderer()
getProxyModel
public ProxyModel getProxyModel()
getLocalProperties
public Properties getLocalProperties(Data data)
throws org.nuiton.util.ArgumentsParserException
- Throws:
org.nuiton.util.ArgumentsParserException
Copyright © 2010 CodeLutin. All Rights Reserved.