|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfacets.util.Tracer
facets.facet.FacetFactory
facets.facet.app.FacetDialogContenter.PanelFacets
public abstract static class FacetDialogContenter.PanelFacets
FacetFactory
for use by FacetDialogContenter
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class facets.facet.FacetFactory |
---|
FacetFactory.AppletHost, FacetFactory.AppMenuBuilder, FacetFactory.AppTargeters, FacetFactory.ComboCoupler, FacetFactory.EditFacets, FacetFactory.SurfaceStyle, FacetFactory.ToolkitType |
Field Summary | |
---|---|
protected facets.facet.toolkit.Kit |
kit
|
Constructor Summary | |
---|---|
FacetDialogContenter.PanelFacets(FacetFactory core)
|
Method Summary | |
---|---|
SFacet |
colorChooser(STargeter rgb)
Creates a facet enabling the user to define an RGB shade. |
AppWatcher |
coupleAppWatcher(AppWatcher.WatcherCoupler coupler)
|
SFacet |
fill()
Creates a facet defining an empty panel to fill spare space in a row panel. |
SFacet |
hideMount(STargeter targeter,
SFacet contents,
java.lang.String hints)
Creates a facet that can hide its contents. |
void |
hideMountSetHidden(SFacet mount,
boolean hidden)
|
SFacet |
indexingDropdownList(STargeter t,
java.lang.String hints)
Creates a facet defining a dropdown list. |
SFacet |
indexingIteratorButtons(STargeter t,
java.lang.String hints)
Creates a facet defining either a single or a pair of iterating pushbuttons. |
SFacet |
indexingIteratorItems(STargeter t)
Creates a facet defining either a single or a pair of iterating action menu items. |
SFacet |
indexingIteratorMenu(STargeter t,
java.lang.String hints)
Creates a facet defining a sub-menu containing either a single or a pair of iterating action menu items. |
SFacet |
indexingPaneChecked(STargeter t,
int width,
int rows,
java.lang.String hints)
Creates a facet defining a list pane of items selected by checkboxes. |
SFacet |
indexingPaneMultiple(STargeter t,
int width,
int rows,
java.lang.String hints)
Creates a facet defining a multiple-selection list pane. |
SFacet |
indexingPaneSingle(STargeter t,
int width,
int rows,
java.lang.String hints)
Creates a facet defining a single-selection list pane. |
SFacet |
indexingRadioButtonMenu(STargeter t,
java.lang.String hints)
Creates a facet defining a radio-button sub-menu. |
SFacet |
indexingRadioButtonMenuItems(STargeter t,
java.lang.String hints)
Creates a facet defining a radio-button items group. |
SFacet |
indexingRadioButtons(STargeter t,
java.lang.String hints)
Creates a facet defining a radio-button panel. |
SFacet |
indexingRadioButtonSingle(STargeter t,
int index,
java.lang.String hints)
Creates a facet defining a single radio-button from a panel. |
static SFacet[] |
join(SFacet[] front,
SFacet[] back)
Joins two facet arrays. |
SFacet |
menuRoot(MenuFacets content)
Creates a facet defining a menu for attachment to a menu bar. |
SFacet |
menuRoot(STargeter t,
java.lang.String title,
SFacet... facets)
Creates a facet defining a menu for attachment to a menu bar. |
abstract SFacet |
newContentPanel(SContentRootTargeter t)
Build panel for FacetDialogContenter . |
protected SFacet |
newExtrasMount(AreaTargeter targeter,
ValueNode stateApp,
SFacet graph,
SFacet help)
|
SFacet |
numericFields(STargeter t,
java.lang.String hints)
Creates a facet defining one or more numeric text fields exposing the target of t or those of its elements. |
SFacet |
numericNudgeButtons(STargeter t,
java.lang.String hints)
Creates a facet defining one or more pairs of nudge buttons exposing the target of t or those of its elements. |
SFacet |
numericNudgeMenu(STargeter t,
java.lang.String hints)
Creates a facet attached to t defining
a pair of action items. |
SFacet[] |
numericNudgeMenuItems(STargeter t,
java.lang.String hints)
Creates nudge menu items exposing a numeric. |
SFacet[] |
numericNudgeMenus(STargeter t,
java.lang.String hints)
Creates nudge menus exposing a numeric. |
SFacet |
numericSliders(STargeter t,
int width,
java.lang.String hints)
Creates a facet defining one or more sliders exposing the target of t or those of its elements. |
static void |
resetCounts()
|
SFacet |
rowPanel(STargeter t,
int hgap,
int vgap,
java.lang.String hints,
SFacet... contents)
Creates an area facet defining a containing panel. |
SFacet |
rowPanel(STargeter t,
SFacet... contents)
Creates an area facet defining a containing panel with special layout behaviour. |
SFacet[] |
rowPanels(SFacet[][] facets,
STargeter t,
java.lang.String hints)
Wraps facet arrays in row panels. |
SFacet |
simpleMastered(STargeter t,
FacetMaster.Simple master)
Creates a simple facet with a custom panel. |
SFacet |
spacerTall(int gap)
Creates a facet defining an empty panel for use as a vertical spacer. |
SFacet |
spacerWide(int gap)
Creates a facet defining an empty panel for use as a horizontal spacer. |
MountFacet |
switchMount(java.lang.String title)
Creates a facet mount that can switch its visible contents. |
static SIndexing |
switchMountIndexing(SFacet mount,
SIndexing.Coupler coupler)
Creates an indexing setting the facet to be displayed by the facet passed. |
SFacet |
tabMount(STargeter targeter,
SFacet[] facets,
java.lang.String[] titles)
|
SFacet |
textualField(STargeter t,
int cols,
java.lang.String hints)
Creates a facet defining a single-line text field. |
SFacet |
textualLabel(STargeter t,
java.lang.String hints)
Creates a facet defining a single-line variable text label. |
SFacet |
togglingButtons(STargeter t,
java.lang.String hints)
Creates a facet defining a toggle button or button panel. |
SFacet |
togglingCheckboxes(STargeter t,
java.lang.String hints)
Creates a facet defining a checkbox or checkbox panel. |
SFacet |
togglingCheckboxMenu(STargeter t,
java.lang.String hints)
Creates a facet defining a checkbox sub-menu. |
SFacet |
togglingCheckboxMenuItems(STargeter t,
java.lang.String hints)
Creates a facet defining one or more checkbox menu items. |
SFacet |
toolGroups(STargeter t,
java.lang.String hints,
SFacet... contents)
Creates an area facet defining groups of facets. |
java.lang.String |
toString()
|
SFacet |
triggerButtons(STargeter t,
java.lang.String hints)
Creates a facet defining one or more pushbuttons. |
SFacet |
triggerMenu(STargeter t,
java.lang.String hints)
Creates a facet defining an action menu. |
SFacet |
triggerMenuItems(STargeter t,
java.lang.String hints)
Creates a facet defining one or more action menu items. |
static java.lang.String |
version()
|
Methods inherited from class facets.facet.FacetFactory |
---|
adjustMenuRoots, appletHostWrap, areas, editTools, extras, extras, fillFontSizes, findPaneTargeter, fontFactor, helpMenuFacets, menus, newAdjustedMenus, newAppletCore, newCountsText, newDesktopCore, newDesktopHost, providingCache, services, setAppProvidingCache, sidebar, statefulClipperSource, status, toolbar, warningCritical, windowMenuFacets |
Methods inherited from class facets.util.Tracer |
---|
trace, trace, trace, trace, trace, traceDebug, traceDebug, traceObjectText, traceOutput, traceOutputWithClass |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface facets.util.app.AppServices |
---|
coupleAppWatcher |
Field Detail |
---|
protected final facets.facet.toolkit.Kit kit
Constructor Detail |
---|
public FacetDialogContenter.PanelFacets(FacetFactory core)
Method Detail |
---|
public abstract SFacet newContentPanel(SContentRootTargeter t)
FacetDialogContenter
.
t
- passed from FacetDialogContenter.newContentPanel(SContentRootTargeter)
public final AppWatcher coupleAppWatcher(AppWatcher.WatcherCoupler coupler)
public final SFacet colorChooser(STargeter rgb)
rgb
- must be retargeted on a SNumeric
, whose value is
interpreted as defining a Shade
.public final SFacet fill()
Used after FacetFactory.BREAK
it fills the bottom of the panel.
public final SFacet indexingIteratorMenu(STargeter t, java.lang.String hints)
t
- must be targeted on an SIndexing
; its coupler defines the itemshints
- public final SFacet indexingIteratorButtons(STargeter t, java.lang.String hints)
t
- must be targeted on an SIndexing
; its coupler defines the itemshints
- one or more FacetFactory
HINT
constants concatenatedpublic final SFacet indexingIteratorItems(STargeter t)
t
- must be targeted on an SIndexing
; its coupler defines the itemspublic final SFacet indexingDropdownList(STargeter t, java.lang.String hints)
Editable behaviour of the selected item can be defined by creating
the indexing target with a Facets.ComboCoupler
.
t
- must be targeted on an SIndexing
hints
- one or more FacetFactory
HINT
constants concatenatedpublic final SFacet indexingPaneSingle(STargeter t, int width, int rows, java.lang.String hints)
t
- must be targeted on an SIndexing
width
- pixel widthrows
- visible items counthints
- one or more FacetFactory
HINT
constants concatenatedpublic final SFacet indexingPaneChecked(STargeter t, int width, int rows, java.lang.String hints)
t
- must be targeted on an SIndexing
width
- pixel widthrows
- visible items counthints
- one or more FacetFactory
HINT
constants concatenatedpublic final SFacet indexingPaneMultiple(STargeter t, int width, int rows, java.lang.String hints)
t
- must be targeted on an SIndexing
width
- pixel widthrows
- visible items counthints
- one or more FacetFactory
HINT
constants concatenatedpublic final SFacet indexingRadioButtonMenu(STargeter t, java.lang.String hints)
t
- must be retargeted on an SIndexing
; its indexables
will appear in the menupublic final SFacet indexingRadioButtonMenuItems(STargeter t, java.lang.String hints)
t
- must be retargeted on an SIndexing
; its indexables will appear as the
itemshints
- one or more FacetFactory
HINT
constants concatenatedpublic final SFacet indexingRadioButtons(STargeter t, java.lang.String hints)
t
- must be retargeted on an indexinghints
- one or more FacetFactory
HINT
constants concatenatedpublic final SFacet indexingRadioButtonSingle(STargeter t, int index, java.lang.String hints)
t
- must be retargeted on an SIndexing
index
- the indexable to be exposed by the buttonhints
- one or more FacetFactory
HINT
constants concatenatedpublic final SFacet menuRoot(MenuFacets content)
The menu will check MenuFacets.getFacets()
on each retargeting
and update its items accordingly.
content
- content supplying menu members and titlepublic final SFacet menuRoot(STargeter t, java.lang.String title, SFacet... facets)
Calls menuRoot(MenuFacets)
with a trivial subclass constructed
from the parameters.
public final SFacet numericFields(STargeter t, java.lang.String hints)
t
or those of its elements.
t
- must be retargeted on a numeric or a grouping of numericshints
- one or more FacetFactory
HINT
constants concatenatedpublic final SFacet numericNudgeButtons(STargeter t, java.lang.String hints)
t
or those of its elements.
t
- must be retargeted on a numeric or a grouping of numericshints
- one or more FacetFactory
HINT
constants concatenatedpublic final SFacet numericNudgeMenu(STargeter t, java.lang.String hints)
t
defining
a pair of action items.
t
- must be retargeted on a numeric or a grouping of numericshints
- public final SFacet[] numericNudgeMenuItems(STargeter t, java.lang.String hints)
Facets attached to the elements
of t
each define a pair of action items.
t
- must be retargeted on a numeric or a grouping of numericshints
- public final SFacet[] numericNudgeMenus(STargeter t, java.lang.String hints)
Facets attached to the elements
of t
each define sub-menu containing a pair of action items.
t
- must be retargeted on a numeric or a grouping of numericshints
- public final SFacet numericSliders(STargeter t, int width, java.lang.String hints)
t
or those of its elements.
t
- must be retargeted on a numeric or a grouping of numericswidth
- the width of each sliderhints
- one or more FacetFactory
HINT
constants concatenatedpublic final SFacet rowPanel(STargeter t, int hgap, int vgap, java.lang.String hints, SFacet... contents)
The panel uses a flow-type layout for each row, creating a new row for
each occurrence in contents
of class constant BREAK
.
t
- will usually be retargeted on a framehgap
- horizontal gap between panels abstracted by contents
vgap
- vertical gap between panels abstracted by contents
hints
- one or more Facets HINT
constants concatenatedcontents
- panel-type facet created using FacetFactory
,
with new rows denoted by BREAK
public final SFacet rowPanel(STargeter t, SFacet... contents)
The panel uses a flow-type layout for each row, creating a new row for
each occurrence in contents
of class constant BREAK
.
Panels abstracted by contents
are aligned left, with
zero horizontal and vertical separation.
t
- will usually be retargeted on a framecontents
- panel-type facet created using FacetFactory
,
with new rows denoted by BREAK
public final SFacet[] rowPanels(SFacet[][] facets, STargeter t, java.lang.String hints)
facets
- the arrays to wrapt
- will control all panelshints
- can set alignmentpublic final SFacet spacerTall(int gap)
gap
- the vertical gap requiredpublic final SFacet spacerWide(int gap)
gap
- the horizontal gap requiredpublic final MountFacet switchMount(java.lang.String title)
Set the contents with MountFacet.setFacets(SFacet...)
;
and a coupler for the indexing with
switchMountIndexing(SFacet, facets.core.superficial.SIndexing.Coupler)
.
title
- will be used for the controlling indexingpublic static final SIndexing switchMountIndexing(SFacet mount, SIndexing.Coupler coupler)
mount
- must have been created using switchMount
.coupler
- is attached to the indexingpublic final SFacet hideMount(STargeter targeter, SFacet contents, java.lang.String hints)
public final void hideMountSetHidden(SFacet mount, boolean hidden)
public final SFacet tabMount(STargeter targeter, SFacet[] facets, java.lang.String[] titles)
public final SFacet textualField(STargeter t, int cols, java.lang.String hints)
t
- must be retargeted on a textualhints
- one or more FacetFactory
HINT
constants concatenatedpublic final SFacet textualLabel(STargeter t, java.lang.String hints)
t
- must be retargeted on a textualhints
- one or more FacetFactory
HINT
constants concatenatedpublic final SFacet togglingButtons(STargeter t, java.lang.String hints)
t
- must be retargeted on a toggling or a grouping of togglingshints
- one or more FacetFactory
HINT
constants concatenatedpublic final SFacet triggerButtons(STargeter t, java.lang.String hints)
t
- must be retargeted on a trigger or a grouping of triggershints
- one or more FacetFactory
HINT
constants concatenatedpublic final SFacet togglingCheckboxes(STargeter t, java.lang.String hints)
t
- must be retargeted on a toggling or a grouping of togglingshints
- one or more FacetFactory
HINT
constants concatenatedpublic final SFacet togglingCheckboxMenu(STargeter t, java.lang.String hints)
t
- must be retargeted on a toggling or a grouping of togglingshints
- public final SFacet triggerMenu(STargeter t, java.lang.String hints)
t
- must be retargeted on a trigger or a grouping of triggershints
- public final SFacet togglingCheckboxMenuItems(STargeter t, java.lang.String hints)
t
- must be retargeted on a toggling or a grouping of togglingshints
- public final SFacet triggerMenuItems(STargeter t, java.lang.String hints)
t
- must be retargeted on a trigger or a grouping of triggershints
- public final SFacet toolGroups(STargeter t, java.lang.String hints, SFacet... contents)
t
- will usually be retargeted on a framecontents
- tool-type facets created using FacetFactory
public final java.lang.String toString()
toString
in class java.lang.Object
public final SFacet simpleMastered(STargeter t, FacetMaster.Simple master)
The master passed is cast to an appropriate base class for the
toolkit used by the FacetFactory
.
t
- must be retargeted on an appropriate targetmaster
- must build a panel capable of exposing a target of t
protected final SFacet newExtrasMount(AreaTargeter targeter, ValueNode stateApp, SFacet graph, SFacet help)
public static java.lang.String version()
public static void resetCounts()
public static final SFacet[] join(SFacet[] front, SFacet[] back)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |