|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openswing.swing.tree.client.TreeDataLocator
org.openswing.swing.lookup.client.LookupDataLocator
org.openswing.swing.lookup.client.LookupServerDataLocator
Title: OpenSwing Framework
Description: Lookup Data Source that send requests to server side when validating code and when opening lookup grid frame.
Copyright: Copyright (C) 2006 Mauro Carniel
This file is part of OpenSwing Framework. This library is free software; you can redistribute it and/or modify it under the terms of the (LGPL) Lesser General Public License as published by the Free Software Foundation; GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. The author may be contacted at: maurocarniel@tin.it
Constructor Summary | |
LookupServerDataLocator()
|
Method Summary | |
java.lang.String |
getGridMethodName()
|
TreeDataLocator |
getTreeDataLocator()
|
Response |
getTreeModel(javax.swing.JTree tree)
Method called by the TreePanel to fill the tree. |
java.lang.String |
getValidationMethodName()
|
Response |
loadData(int action,
int startIndex,
java.util.Map filteredColumns,
java.util.ArrayList currentSortedColumns,
java.util.ArrayList currentSortedVersusColumns,
java.lang.Class valueObjectType)
Method called by lookup controller when user clicks on lookup button. |
void |
setGridMethodName(java.lang.String gridMethodName)
Set the method called on server side to fetching rows to fill in the lookup grid. |
void |
setTreeDataLocator(TreeDataLocator treeDataLocator)
Set the tree data locator. |
void |
setValidationMethodName(java.lang.String validationMethodName)
Set the method called on server side. |
Response |
validateCode(java.lang.String code)
Method called by lookup controller when validating code. |
Methods inherited from class org.openswing.swing.lookup.client.LookupDataLocator |
getLookupFrameParams, getLookupValidationParameters, setLookupFrameParams, setLookupValidationParameters |
Methods inherited from class org.openswing.swing.tree.client.TreeDataLocator |
getNodeNameAttribute, getTreeNodeParams, loadDataCompleted, setNodeNameAttribute, setTreeNodeParams |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LookupServerDataLocator()
Method Detail |
public Response validateCode(java.lang.String code)
validateCode
in class LookupDataLocator
code
- code to validate
public final java.lang.String getValidationMethodName()
public final void setValidationMethodName(java.lang.String validationMethodName)
public java.lang.String getGridMethodName()
public void setGridMethodName(java.lang.String gridMethodName)
gridMethodName
- method called on server side to fetching rows to fill in the lookup gridpublic Response loadData(int action, int startIndex, java.util.Map filteredColumns, java.util.ArrayList currentSortedColumns, java.util.ArrayList currentSortedVersusColumns, java.lang.Class valueObjectType)
loadData
in class LookupDataLocator
action
- fetching versus: PREVIOUS_BLOCK_ACTION, NEXT_BLOCK_ACTION or LAST_BLOCK_ACTIONstartIndex
- current index row on grid to use to start fetching datafilteredColumns
- filtered columnscurrentSortedColumns
- sorted columnscurrentSortedVersusColumns
- ordering versus of sorted columnsvalueObjectType
- type of value object associated to the lookup grid
public final Response getTreeModel(javax.swing.JTree tree)
getTreeModel
in class TreeDataLocator
public final TreeDataLocator getTreeDataLocator()
public final void setTreeDataLocator(TreeDataLocator treeDataLocator)
treeDataLocator
- tree data locator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |