ubiware.core.visualizer
Interface SAPLTreeCellRenderer.UserPreferencies

All Known Implementing Classes:
VisualizerPrototype
Enclosing class:
SAPLTreeCellRenderer

public static interface SAPLTreeCellRenderer.UserPreferencies

Interface to specify the minimun knowledge about user that should be provided to this Cell Renderer in order to render cells according to user preferences.

Author:
Nikos Mouchtaris

Method Summary
 java.awt.Font getDisplayFont()
          Provides access to the Font which is used to display information to the user.
 java.awt.Graphics getGraphics()
          Provides access to the Graphics toolkit which is used at rendering time.
 boolean isAliasNamespaces()
          Returns true if the user has given the notion that she would like namespaces to be printed as short aliases.
 boolean isEmptyBeliefContainersExpandable()
          Indicates the user's preference about whether a node which are belief containers and expanded should also have its icon displayed.
 boolean isShowExpandedBeliefContainerIcon()
          Indicates the user's preference about whether a node which are belief containers and expanded should also have its icon displayed.
 boolean isShowExpandedBeliefContainerText()
          Indicates the user's preference about whether a node which are belief containers and expanded should also have its text displayed.
 

Method Detail

isAliasNamespaces

boolean isAliasNamespaces()
Returns true if the user has given the notion that she would like namespaces to be printed as short aliases.

Returns:
true if the user has given the notion that she would like namespaces to be printed as short aliases.

isShowExpandedBeliefContainerText

boolean isShowExpandedBeliefContainerText()
Indicates the user's preference about whether a node which are belief containers and expanded should also have its text displayed. If this method returns false then expanded belief container nodes should show no text.

Returns:
true if the user wants expanded belief container nodes to display their text

isShowExpandedBeliefContainerIcon

boolean isShowExpandedBeliefContainerIcon()
Indicates the user's preference about whether a node which are belief containers and expanded should also have its icon displayed. If this method returns false then expanded belief container nodes should show no icon.

Returns:
true if the user wants expanded belief container nodes to display their icon

isEmptyBeliefContainersExpandable

boolean isEmptyBeliefContainersExpandable()
Indicates the user's preference about whether a node which are belief containers and expanded should also have its icon displayed. If this method returns false then expanded belief container nodes should show no icon.

Returns:
true if the user wants icons, false otherwise

getDisplayFont

java.awt.Font getDisplayFont()
Provides access to the Font which is used to display information to the user.

Returns:
the Font which is used to display information to the user.

getGraphics

java.awt.Graphics getGraphics()
Provides access to the Graphics toolkit which is used at rendering time.

Returns:
the Graphics toolkit which is used at rendering time.