com.jaxfront.core.ui
Interface EditablePanel

All Known Implementing Classes:
AbstractEditorPanel, EditorPanel

public interface EditablePanel

A marker interface to mark an EditorPanel to be used to visualize a JAXFront DOM.

Version:
1.60

Method Summary
 void addHelpListener(HelpListener newListener)
          Add a new help listener to receive HelpEvents in case of a defined help definition.
 void fireHelpEvent(Type source, java.lang.String helpID)
          Fires a HelpEvent for a help requestor (source type) and the according help identifier.
 TreeNode getSelectedTreeNode()
          Returns the selected tree node in the navigation tree.
 Document getTargetDOM()
          Returns the target DOM.
 TreeModel getTreeModel()
          Returns the tree model for the navigation tree.
 java.awt.Window getWindow()
          Returns the parent frame of this panel.
 void removeHelpListener(HelpListener listener)
          Removes a HelpListener.
 void removeTreeNodes(java.util.List treeNodes)
           
 void selectNode(TreeNode node)
          Selects a TreeNode in the NavigationTree.
 void selectNode(Type type)
          Selects a TreeNode in the NavigationTree based on a type.
 Visualizer visualize(Type aType, boolean forceRepaint)
           
 

Method Detail

getTreeModel

TreeModel getTreeModel()
Returns the tree model for the navigation tree.


getWindow

java.awt.Window getWindow()
Returns the parent frame of this panel.


getSelectedTreeNode

TreeNode getSelectedTreeNode()
Returns the selected tree node in the navigation tree.


removeTreeNodes

void removeTreeNodes(java.util.List treeNodes)

fireHelpEvent

void fireHelpEvent(Type source,
                   java.lang.String helpID)
Fires a HelpEvent for a help requestor (source type) and the according help identifier.

Parameters:
source - source the help requestor
helpID - any help identification for the target help system

selectNode

void selectNode(Type type)
Selects a TreeNode in the NavigationTree based on a type.

Parameters:
type - the type to be selected.
See Also:
com.jaxfront.core.ui.NavigationTree#setSelectionPath(TreeNode node)

visualize

Visualizer visualize(Type aType,
                     boolean forceRepaint)

addHelpListener

void addHelpListener(HelpListener newListener)
Add a new help listener to receive HelpEvents in case of a defined help definition.

Parameters:
newListener - HelpListener

removeHelpListener

void removeHelpListener(HelpListener listener)
Removes a HelpListener.

Parameters:
listener - HelpListener to remove

getTargetDOM

Document getTargetDOM()
Returns the target DOM.


selectNode

void selectNode(TreeNode node)
Selects a TreeNode in the NavigationTree.

Parameters:
node - the node to be selected.