|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjaxx.runtime.swing.nav.NavHelper<jaxx.runtime.swing.nav.treetable.NavTreeTableModel,org.jdesktop.swingx.JXTreeTable,jaxx.runtime.swing.nav.treetable.NavTreeTableBridge<N>,N>
jaxx.runtime.swing.nav.treetable.NavTreeTableHelper<VradiTreeTableNode>
com.jurismarches.vradi.ui.admin.helpers.ThesaurusTreeTableHelper
public class ThesaurusTreeTableHelper
Navigation tree helpers.
NavTreeHelper| Field Summary | |
|---|---|
protected List<String> |
idsLoaded
|
protected RootThesaurus |
rootThesaurus
|
| Fields inherited from class jaxx.runtime.swing.nav.NavHelper |
|---|
childLoadors, dataProvider, expandListener, selectionListener, treeModelListener |
| Constructor Summary | |
|---|---|
ThesaurusTreeTableHelper()
Create helper with first nodes are the root thesaurus |
|
ThesaurusTreeTableHelper(RootThesaurus rootThesaurus)
Create helper with first nodes are the root thesaurus in parm (for move) |
|
ThesaurusTreeTableHelper(VradiDataProvider dataProvider)
Create helper with first nodes are the root thesaurus |
|
| Method Summary | |
|---|---|
void |
clearExtension(org.nuiton.wikitty.WikittyServiceEvent event)
|
void |
clearWikitty(org.nuiton.wikitty.WikittyServiceEvent event)
|
jaxx.runtime.swing.nav.treetable.NavTreeTableModel |
createTreeModel()
|
protected List<String> |
extractIds(List<Thesaurus> beans)
|
VradiDataProvider |
getDataProvider()
|
static RootThesaurus |
getRootThesaurus(VradiTreeTableNode node)
|
static Thesaurus |
getThesaurus(VradiTreeTableNode node)
|
protected void |
init(VradiDataProvider dataProvider)
|
void |
putExtension(org.nuiton.wikitty.WikittyServiceEvent event)
|
void |
putWikitty(org.nuiton.wikitty.WikittyServiceEvent event)
|
protected void |
refresh(VradiTreeTableNode node)
|
void |
registerLoadedIds(VradiTreeTableNode node)
|
void |
removeExtension(org.nuiton.wikitty.WikittyServiceEvent event)
|
void |
removeWikitty(org.nuiton.wikitty.WikittyServiceEvent event)
|
void |
setUI(org.jdesktop.swingx.JXTreeTable tree,
boolean addExpandTreeListener,
boolean addOneClickSelectionListener,
TreeSelectionListener listener,
TreeWillExpandListener willExpandListener)
|
void |
tryToSelect(Collection<String> thesaurusIds)
Try to select thesaurus ids pass in param |
void |
tryToSelect(List<Thesaurus> thesaurus)
Try to select thesaurus pass in param |
void |
tryToUnselect(Collection<String> thesaurusIds)
Try to unselect thesaurus ids pass in param |
void |
tryToUnselect(List<Thesaurus> thesaurus)
Try to unselect thesaurus pass in param |
| Methods inherited from class jaxx.runtime.swing.nav.treetable.NavTreeTableHelper |
|---|
addSelectionPath, addSelectionPaths, createModel, expandPath, getSelectedNode, getSelectedNodes, getSelectionModel, getTreeCellRenderer, isExpanded, removeSelectionPath, removeSelectionPaths, scrollPathToVisible, setSelectionPath |
| Methods inherited from class jaxx.runtime.swing.nav.NavHelper |
|---|
checkModel, findNode, getBridge, getChildLoador, getChildLoadors, getModel, getNode, getRootNode, getSelectedIds, getUI, insertNode, insertNode, loadAllNodes, moveNode, populateNode, refreshNode, removeNode, selectNode, selectNode, selectNodes, selectParentNode, setDataProvider, setUI, setUI, setUI, setUI, unSelectNode, unSelectNodes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected RootThesaurus rootThesaurus
protected List<String> idsLoaded
| Constructor Detail |
|---|
public ThesaurusTreeTableHelper()
public ThesaurusTreeTableHelper(RootThesaurus rootThesaurus)
rootThesaurus - root thesaurus to displaypublic ThesaurusTreeTableHelper(VradiDataProvider dataProvider)
dataProvider - vradi data provider| Method Detail |
|---|
protected void init(VradiDataProvider dataProvider)
public void setUI(org.jdesktop.swingx.JXTreeTable tree,
boolean addExpandTreeListener,
boolean addOneClickSelectionListener,
TreeSelectionListener listener,
TreeWillExpandListener willExpandListener)
setUI in class jaxx.runtime.swing.nav.treetable.NavTreeTableHelper<VradiTreeTableNode>public void registerLoadedIds(VradiTreeTableNode node)
public void tryToSelect(List<Thesaurus> thesaurus)
thesaurus - list of thesaurus to selectpublic void tryToSelect(Collection<String> thesaurusIds)
thesaurusIds - list of thesaurus ids to selectpublic void tryToUnselect(List<Thesaurus> thesaurus)
thesaurus - list of thesaurus to unselectpublic void tryToUnselect(Collection<String> thesaurusIds)
thesaurusIds - list of thesaurus ids to selectprotected List<String> extractIds(List<Thesaurus> beans)
public VradiDataProvider getDataProvider()
getDataProvider in class jaxx.runtime.swing.nav.NavHelper<jaxx.runtime.swing.nav.treetable.NavTreeTableModel,org.jdesktop.swingx.JXTreeTable,jaxx.runtime.swing.nav.treetable.NavTreeTableBridge<VradiTreeTableNode>,VradiTreeTableNode>public jaxx.runtime.swing.nav.treetable.NavTreeTableModel createTreeModel()
public static RootThesaurus getRootThesaurus(VradiTreeTableNode node)
public static Thesaurus getThesaurus(VradiTreeTableNode node)
protected void refresh(VradiTreeTableNode node)
public void putWikitty(org.nuiton.wikitty.WikittyServiceEvent event)
putWikitty in interface org.nuiton.wikitty.WikittyServiceListenerpublic void removeWikitty(org.nuiton.wikitty.WikittyServiceEvent event)
removeWikitty in interface org.nuiton.wikitty.WikittyServiceListenerpublic void clearWikitty(org.nuiton.wikitty.WikittyServiceEvent event)
clearWikitty in interface org.nuiton.wikitty.WikittyServiceListenerpublic void putExtension(org.nuiton.wikitty.WikittyServiceEvent event)
putExtension in interface org.nuiton.wikitty.WikittyServiceListenerpublic void removeExtension(org.nuiton.wikitty.WikittyServiceEvent event)
removeExtension in interface org.nuiton.wikitty.WikittyServiceListenerpublic void clearExtension(org.nuiton.wikitty.WikittyServiceEvent event)
clearExtension in interface org.nuiton.wikitty.WikittyServiceListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||