protected class SwingMetawidget.Pipeline extends W3CPipeline<JComponent,JComponent,SwingMetawidget>
Modifier | Constructor and Description |
---|---|
protected |
SwingMetawidget.Pipeline() |
Modifier and Type | Method and Description |
---|---|
SwingMetawidget |
buildNestedMetawidget(Map<String,String> attributes) |
protected void |
configure() |
protected void |
configureDefaults()
Configure a default Inspector (
setInspector ),
list of InspectionResultProcessors (setInspectionResultProcessors ),
WidgetBuilder (setWidgetBuilder ), list of
WidgetProcessors (setWidgetProcessors ) and a Layout (setLayout ). |
protected void |
endBuild() |
protected Map<String,String> |
getAdditionalAttributes(JComponent component)
Returns additional attributes associated with the widget.
|
protected String |
getDefaultConfiguration() |
protected SwingMetawidget |
getPipelineOwner() |
protected void |
layoutWidget(JComponent component,
String elementName,
Map<String,String> attributes)
Lays out the built and processed widget.
|
protected void |
startBuild() |
elementToString, getAttributesAsMap, getConfig, getConfigReader, getElementName, getFirstChildElement, getInspectionResultProcessor, getNextSiblingElement, getWidgetProcessor, initNestedPipeline, setConfig, setConfigReader, stringToElement
addInspectionResultProcessor, addWidgetProcessor, buildCompoundWidget, buildWidget, buildWidgets, configureOnce, getInspectionResultProcessors, getInspector, getLayout, getMaximumInspectionDepth, getWidgetBuilder, getWidgetProcessors, inspect, inspectAsDom, isReadOnly, processInspectionResult, processWidget, removeInspectionResultProcessor, removeWidgetProcessor, setInspectionResultProcessors, setInspector, setLayout, setMaximumInspectionDepth, setNeedsConfiguring, setReadOnly, setWidgetBuilder, setWidgetProcessors
protected SwingMetawidget getPipelineOwner()
getPipelineOwner
in class BasePipeline<JComponent,JComponent,Element,SwingMetawidget>
protected String getDefaultConfiguration()
getDefaultConfiguration
in class W3CPipeline<JComponent,JComponent,SwingMetawidget>
protected void configure()
configure
in class W3CPipeline<JComponent,JComponent,SwingMetawidget>
protected void configureDefaults()
W3CPipeline
setInspector
),
list of InspectionResultProcessors (setInspectionResultProcessors
),
WidgetBuilder (setWidgetBuilder
), list of
WidgetProcessors (setWidgetProcessors
) and a Layout (setLayout
).configureDefaults
in class W3CPipeline<JComponent,JComponent,SwingMetawidget>
protected void startBuild()
startBuild
in class BasePipeline<JComponent,JComponent,Element,SwingMetawidget>
protected void layoutWidget(JComponent component, String elementName, Map<String,String> attributes)
BasePipeline
layoutWidget
in class BasePipeline<JComponent,JComponent,Element,SwingMetawidget>
protected Map<String,String> getAdditionalAttributes(JComponent component)
BasePipeline
At the very least, this method should be implemented to support returning additional attributes from stubs.
getAdditionalAttributes
in class BasePipeline<JComponent,JComponent,Element,SwingMetawidget>
public SwingMetawidget buildNestedMetawidget(Map<String,String> attributes) throws Exception
buildNestedMetawidget
in class BasePipeline<JComponent,JComponent,Element,SwingMetawidget>
Exception
protected void endBuild()
endBuild
in class BasePipeline<JComponent,JComponent,Element,SwingMetawidget>
Copyright © 2015. All Rights Reserved.