|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfacets.core.app.MenuFacets
public abstract class MenuFacets
Creates SFacets for a top-level menu.
MenuFacets supplies facets for a pull-down or
context menu, facets that may in turn manage single or multiple
menu items or sub-menus. The facets and the top-level menu itself must be created
using an appropriate facet builder.
| Field Summary | |
|---|---|
STargeter |
targeter
|
| Constructor Summary | |
|---|---|
MenuFacets(MenuFacets src)
|
|
MenuFacets(java.lang.String title,
STargeter t)
Unique constructor. |
|
| Method Summary | |
|---|---|
SFacet[] |
getContextFacets(ViewerTarget viewer,
SFacet[] viewerFacets)
Allows context sensitivity and merging of facets. |
SFacet[] |
getFacets()
Return facets managing items for a menu. |
java.lang.String |
title()
Returns the title for a pull-down menu. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final STargeter targeter
| Constructor Detail |
|---|
public MenuFacets(java.lang.String title,
STargeter t)
title - is returned by title if non-empty and that method
is not overriddent - is set as targeterpublic MenuFacets(MenuFacets src)
| Method Detail |
|---|
public SFacet[] getFacets()
public SFacet[] getContextFacets(ViewerTarget viewer,
SFacet[] viewerFacets)
viewer - viewerFacets -
getFacets()public final java.lang.String title()
Returns either any non-empty title passed during construction, or that of the targeter passed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||