Package com.orchestranetworks.ui.view
Interface UICustomViewContext
-
public interface UICustomViewContextProvides information on custom view context.- Since:
- 6.1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stream<UICustomViewKey>getCustomViewKeys(AdaptationTable aTable)Returns the list of keys of the custom views defined on the given tableStream<UICustomViewKey>getCustomViewKeys(AdaptationTable aTable, UserReference aUser)Returns the list of keys of the custom views defined on the given table and applicable by given userUIViewgetUserCurrentView()Returns the currently applied viewUICustomViewKeygetUserFavoriteViewKey(AdaptationTable aTable)Returns the favorite view key for a given tableUICustomViewKeygetUserRecommendedViewKey(AdaptationTable aTable)Returns the recommended view key for a given tableUIViewgetViewDefinition(UICustomViewKey userViewKey)Returns the definition of the view Returnsnullin case of the default view
-
-
-
Method Detail
-
getUserFavoriteViewKey
UICustomViewKey getUserFavoriteViewKey(AdaptationTable aTable)
Returns the favorite view key for a given table- Parameters:
aTable- the table of the view.
-
getUserRecommendedViewKey
UICustomViewKey getUserRecommendedViewKey(AdaptationTable aTable)
Returns the recommended view key for a given table- Parameters:
aTable- the table of the view.
-
getUserCurrentView
UIView getUserCurrentView()
Returns the currently applied view
-
getViewDefinition
UIView getViewDefinition(UICustomViewKey userViewKey)
Returns the definition of the view Returnsnullin case of the default view- Parameters:
userViewKey- the key of the user view.
-
getCustomViewKeys
Stream<UICustomViewKey> getCustomViewKeys(AdaptationTable aTable, UserReference aUser)
Returns the list of keys of the custom views defined on the given table and applicable by given user
-
getCustomViewKeys
Stream<UICustomViewKey> getCustomViewKeys(AdaptationTable aTable)
Returns the list of keys of the custom views defined on the given table
-
-