net.sf.doolin.gui.view.support
Class GUIViewUtils

java.lang.Object
  extended by net.sf.doolin.gui.view.support.GUIViewUtils

public class GUIViewUtils
extends Object

Utility methods for the views

Author:
Damien Coraboeuf

Method Summary
static
<V> String
getTitle(GUIView<V> view)
          Gets the title of the view
static
<V> GUIExpression
getTitleExpression(GUIView<V> view)
          Gets the parsed title expression for a view
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTitle

public static <V> String getTitle(GUIView<V> view)
Gets the title of the view

Type Parameters:
V - Type of object for the view
Parameters:
view - View
Returns:
Title
See Also:
getTitleExpression(GUIView), Expression.getValue()

getTitleExpression

public static <V> GUIExpression getTitleExpression(GUIView<V> view)
Gets the parsed title expression for a view

Type Parameters:
V - Type of object for the view
Parameters:
view - View
Returns:
Title expression
See Also:
GUIView.getViewDescriptor(), GUIViewDescriptor.getTitleExpression()


Copyright © 2011. All Rights Reserved.