|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfacets.util.Tracer
facets.facet.FacetMaster
facets.facet.FacetMaster.Simple
facets.facet.SwingSimpleMaster
public abstract class SwingSimpleMaster
Builds and manages Swing panel for a simple facet.
SwingSimpleMaster descends from FacetMaster.Simple
via an internal superclass used by the FacetFactory facet builder.
Custom facet can be created by passing concrete subclasses to
FacetsCore.simpleMastered(facets.core.superficial.STargeter,facets.facet.FacetMaster.Simple).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class facets.facet.FacetMaster |
|---|
FacetMaster.Simple, FacetMaster.Viewer |
| Field Summary | |
|---|---|
protected facets.facet.SimpleCore |
core
|
java.util.Map<java.lang.String,javax.swing.JComponent> |
swingMap
|
| Constructor Summary | |
|---|---|
SwingSimpleMaster()
|
|
| Method Summary | |
|---|---|
javax.swing.JComponent |
facetBaseWrapped()
The component returned by newFacetBaseWrappable(). |
protected abstract javax.swing.JComponent |
newFacetBaseWrappable()
Create a panel facet base for attachment to the GUI. |
protected void |
notifyingSingle(STarget target,
java.lang.Object msg)
|
void |
retargetedMultiple(STarget[] targets,
Notifying.Impact impact)
Update GUI components to match the states of the targets passed. |
abstract void |
retargetedSingle(STarget target,
Notifying.Impact impact)
Update GUI components to the state of the target passed. |
STarget |
target()
The current facet target. |
protected void |
targetNotify(java.lang.Object msg)
|
java.lang.String |
title()
Implements interface method. |
java.lang.String |
toString()
|
| Methods inherited from class facets.facet.FacetMaster.Simple |
|---|
respondTargetWantsFocus |
| Methods inherited from class facets.facet.FacetMaster |
|---|
attachedToFacet |
| 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 |
| Field Detail |
|---|
public final java.util.Map<java.lang.String,javax.swing.JComponent> swingMap
protected facets.facet.SimpleCore core
| Constructor Detail |
|---|
public SwingSimpleMaster()
| Method Detail |
|---|
protected abstract javax.swing.JComponent newFacetBaseWrappable()
JComponent which may include otherspublic final javax.swing.JComponent facetBaseWrapped()
newFacetBaseWrappable().
public abstract void retargetedSingle(STarget target,
Notifying.Impact impact)
FacetMaster.SimpleCalled during each retargeting with a single target (ultimately by
STargeter.retargetFacets(Notifying.Impact), and also
during facet construction immediately after assembly creation.
public void retargetedMultiple(STarget[] targets,
Notifying.Impact impact)
FacetMaster.SimpleCalled during each retargeting with multiple targets (ultimately by
STargeter.retargetFacets(Notifying.Impact).
protected final void targetNotify(java.lang.Object msg)
protected void notifyingSingle(STarget target,
java.lang.Object msg)
public final java.lang.String title()
title in interface Titledpublic java.lang.String toString()
toString in class java.lang.Objectpublic final STarget target()
FacetMaster.Simple
target in class FacetMaster.Simple
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||