jaxx.runtime.swing.navigation
Class AbstractNavigationModelBuilder<E extends NavigationNode<E>>

java.lang.Object
  extended by jaxx.runtime.swing.navigation.AbstractNavigationModelBuilder<E>
All Implemented Interfaces:
NavigationModelBuilder<E>
Direct Known Subclasses:
NavigationTreeModelBuilder, NavigationTreeTableModelBuilder

Deprecated. since 2.1, prefer use the simplify api jaxx.runtime.swing.tree.

@Deprecated
public abstract class AbstractNavigationModelBuilder<E extends NavigationNode<E>>
extends Object
implements NavigationModelBuilder<E>

Interface to create a builder, this object is design to build a NavigationModel.

Since:
2.0.0
Author:
sletellier

Field Summary
protected  boolean adjustingValue
          Deprecated. if sets to true will not fires any event (this is a convinient state when we are building the tree to avoid reload of nodes)
protected  Class<? extends JAXXObject> defaultUIClass
          Deprecated. default ui class to use if node does not define an ui class
protected  Class<? extends JAXXAction> defaultUIHandlerClass
          Deprecated. [optional] default action class
protected  NavigationModel<E> model
          Deprecated. The model dealed by the builder.
 
Constructor Summary
AbstractNavigationModelBuilder(Class<? extends JAXXObject> defaultUIClass, Class<? extends JAXXAction> defaultUIHandlerClass, NavigationModel<E> model)
          Deprecated.  
 
Method Summary
protected  E addChildNode(E parentNode, E node)
          Deprecated.  
 void addDecoratorNodeRenderer(E node, Decorator<?> decorator)
          Deprecated.  
 void addI18nNodeRenderer(E node, String libelle)
          Deprecated.  
 void addNodeJaxxClasses(E node, Class<? extends JAXXObject> uIClass, Class<? extends JAXXAction> uIHandlerClass)
          Deprecated.  
 E build(E parentNode, Decorator<?> decorator, JAXXContextEntryDef<?> entryDef, String contextName, Class<? extends JAXXObject> uiClass, Class<? extends JAXXAction> actionClass)
          Deprecated.  
 E build(E parentNode, Decorator<?> decorator, JAXXContextEntryDef<?> entryDef, String entryPath, String contextName, Class<? extends JAXXObject> uiClass, Class<? extends JAXXAction> actionClass)
          Deprecated.  
 E build(E parentNode, Decorator<?> decorator, String entryPath, String contextName, Class<? extends JAXXObject> uiClass, Class<? extends JAXXAction> actionClass)
          Deprecated.  
 E build(E parentNode, String libelle, JAXXContextEntryDef<?> entryDef, String contextName, Class<? extends JAXXObject> uiClass, Class<? extends JAXXAction> actionClass)
          Deprecated.  
 E build(E parentNode, String libelle, JAXXContextEntryDef<?> entryDef, String entryPath, String contextName, Class<? extends JAXXObject> uiClass, Class<? extends JAXXAction> actionClass)
          Deprecated.  
 E build(E parentNode, String libelle, String entryPath, String contextName, Class<? extends JAXXObject> uiClass, Class<? extends JAXXAction> actionClass)
          Deprecated.  
 E buildEmptyRoot(JAXXContextEntryDef<?> entryDef, String contextName)
          Deprecated.  
 NavigationModel<E> getModel()
          Deprecated.  
 void moveNode(E parentNode, E node, int position)
          Deprecated.  
 void printModel(E node)
          Deprecated.  
 E removeChildNode(E node)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jaxx.runtime.swing.navigation.NavigationModelBuilder
createNavigationNode
 

Field Detail

model

protected NavigationModel<E extends NavigationNode<E>> model
Deprecated. 
The model dealed by the builder.

Note: It is a good idea to keep only one instance of the model. If reset is required, should empty the model but not reinstanciate it.


defaultUIClass

protected Class<? extends JAXXObject> defaultUIClass
Deprecated. 
default ui class to use if node does not define an ui class


defaultUIHandlerClass

protected Class<? extends JAXXAction> defaultUIHandlerClass
Deprecated. 
[optional] default action class


adjustingValue

protected boolean adjustingValue
Deprecated. 
if sets to true will not fires any event (this is a convinient state when we are building the tree to avoid reload of nodes)

Constructor Detail

AbstractNavigationModelBuilder

public AbstractNavigationModelBuilder(Class<? extends JAXXObject> defaultUIClass,
                                      Class<? extends JAXXAction> defaultUIHandlerClass,
                                      NavigationModel<E> model)
Deprecated. 
Method Detail

getModel

public NavigationModel<E> getModel()
Deprecated. 
Specified by:
getModel in interface NavigationModelBuilder<E extends NavigationNode<E>>

buildEmptyRoot

public E buildEmptyRoot(JAXXContextEntryDef<?> entryDef,
                        String contextName)
Deprecated. 
Specified by:
buildEmptyRoot in interface NavigationModelBuilder<E extends NavigationNode<E>>

build

public E build(E parentNode,
               String libelle,
               JAXXContextEntryDef<?> entryDef,
               String entryPath,
               String contextName,
               Class<? extends JAXXObject> uiClass,
               Class<? extends JAXXAction> actionClass)
Deprecated. 
Specified by:
build in interface NavigationModelBuilder<E extends NavigationNode<E>>

build

public E build(E parentNode,
               String libelle,
               JAXXContextEntryDef<?> entryDef,
               String contextName,
               Class<? extends JAXXObject> uiClass,
               Class<? extends JAXXAction> actionClass)
Deprecated. 
Specified by:
build in interface NavigationModelBuilder<E extends NavigationNode<E>>

build

public E build(E parentNode,
               String libelle,
               String entryPath,
               String contextName,
               Class<? extends JAXXObject> uiClass,
               Class<? extends JAXXAction> actionClass)
Deprecated. 
Specified by:
build in interface NavigationModelBuilder<E extends NavigationNode<E>>

build

public E build(E parentNode,
               Decorator<?> decorator,
               JAXXContextEntryDef<?> entryDef,
               String entryPath,
               String contextName,
               Class<? extends JAXXObject> uiClass,
               Class<? extends JAXXAction> actionClass)
Deprecated. 
Specified by:
build in interface NavigationModelBuilder<E extends NavigationNode<E>>

build

public E build(E parentNode,
               Decorator<?> decorator,
               JAXXContextEntryDef<?> entryDef,
               String contextName,
               Class<? extends JAXXObject> uiClass,
               Class<? extends JAXXAction> actionClass)
Deprecated. 
Specified by:
build in interface NavigationModelBuilder<E extends NavigationNode<E>>

build

public E build(E parentNode,
               Decorator<?> decorator,
               String entryPath,
               String contextName,
               Class<? extends JAXXObject> uiClass,
               Class<? extends JAXXAction> actionClass)
Deprecated. 
Specified by:
build in interface NavigationModelBuilder<E extends NavigationNode<E>>

removeChildNode

public E removeChildNode(E node)
Deprecated. 
Specified by:
removeChildNode in interface NavigationModelBuilder<E extends NavigationNode<E>>

moveNode

public void moveNode(E parentNode,
                     E node,
                     int position)
Deprecated. 
Specified by:
moveNode in interface NavigationModelBuilder<E extends NavigationNode<E>>

addI18nNodeRenderer

public void addI18nNodeRenderer(E node,
                                String libelle)
Deprecated. 
Specified by:
addI18nNodeRenderer in interface NavigationModelBuilder<E extends NavigationNode<E>>

addDecoratorNodeRenderer

public void addDecoratorNodeRenderer(E node,
                                     Decorator<?> decorator)
Deprecated. 
Specified by:
addDecoratorNodeRenderer in interface NavigationModelBuilder<E extends NavigationNode<E>>

addNodeJaxxClasses

public void addNodeJaxxClasses(E node,
                               Class<? extends JAXXObject> uIClass,
                               Class<? extends JAXXAction> uIHandlerClass)
Deprecated. 
Specified by:
addNodeJaxxClasses in interface NavigationModelBuilder<E extends NavigationNode<E>>

printModel

public void printModel(E node)
Deprecated. 
Specified by:
printModel in interface NavigationModelBuilder<E extends NavigationNode<E>>

addChildNode

protected E addChildNode(E parentNode,
                         E node)
Deprecated. 


Copyright © 2008-2010 CodeLutin. All Rights Reserved.