|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SwingPanelFacet
SFacet based on JComponents.
A SwingPanelFacet returns as components() a
map of references to JComponents; these references should
only be to those JComponents that it creates and manages, and
may be returned under multiple keys.
Where a FacetFactory is constructed with FacetFactory.ToolkitType.SWING
or FacetFactory.ToolkitType.SWING_SYSTEM,
all SFacets returned by simple facet methods will
implement SwingPanelFacet, with the following methods returning useful
implementations:
FacetsCore.textualField(STargeter,int,String)
FacetsCore.indexingDropdownList(STargeter, String)
FacetsCore.simpleMastered(STargeter, facets.facet.FacetMaster.Simple)
To obtain the components returned and keys used, query the Map
returned.
| Field Summary | |
|---|---|
static java.lang.String |
KEY_LABEL
Suitable key for use in component map. |
static java.lang.String |
KEY_LABELLED
Suitable key for use in component map. |
static java.lang.String |
KEY_PANEL
Suitable key for use in component map. |
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,javax.swing.JComponent> |
components()
|
| Methods inherited from interface facets.core.superficial.SRetargetable |
|---|
retarget, target |
| Field Detail |
|---|
static final java.lang.String KEY_PANEL
static final java.lang.String KEY_LABEL
static final java.lang.String KEY_LABELLED
| Method Detail |
|---|
java.util.Map<java.lang.String,javax.swing.JComponent> components()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||