Package nl.b3p.commons.gui
Class HTMLPane.LocalFormView
- java.lang.Object
-
- javax.swing.text.View
-
- javax.swing.text.ComponentView
-
- javax.swing.text.html.FormView
-
- nl.b3p.commons.gui.HTMLPane.LocalFormView
-
- All Implemented Interfaces:
ActionListener
,EventListener
,SwingConstants
- Enclosing class:
- HTMLPane
public final class HTMLPane.LocalFormView extends FormView
Special handling for elements that can occur inside forms.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javax.swing.text.html.FormView
FormView.MouseEventListener
-
-
Field Summary
-
Fields inherited from class javax.swing.text.View
BadBreakWeight, ExcellentBreakWeight, ForcedBreakWeight, GoodBreakWeight, X_AXIS, Y_AXIS
-
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
-
-
Constructor Summary
Constructors Constructor Description LocalFormView(Element element)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
imageSubmit(String data)
protected void
submitData(String data)
Override the base-class method that actually submits the form data to process it locally instead if the URL in the action field matches the "local" URL.-
Methods inherited from class javax.swing.text.html.FormView
actionPerformed, createComponent, getMaximumSpan
-
Methods inherited from class javax.swing.text.ComponentView
getAlignment, getComponent, getMinimumSpan, getPreferredSpan, modelToView, paint, setParent, viewToModel
-
Methods inherited from class javax.swing.text.View
append, breakView, changedUpdate, createFragment, forwardUpdate, forwardUpdateToView, getAttributes, getBreakWeight, getChildAllocation, getContainer, getDocument, getElement, getEndOffset, getGraphics, getNextVisualPositionFrom, getParent, getResizeWeight, getStartOffset, getToolTipText, getView, getViewCount, getViewFactory, getViewIndex, getViewIndex, insert, insertUpdate, isVisible, modelToView, modelToView, preferenceChanged, remove, removeAll, removeUpdate, replace, setSize, updateChildren, updateLayout, viewToModel
-
-
-
-
Constructor Detail
-
LocalFormView
public LocalFormView(Element element)
-
-
Method Detail
-
submitData
protected void submitData(String data)
Override the base-class method that actually submits the form data to process it locally instead if the URL in the action field matches the "local" URL.- Overrides:
submitData
in classFormView
-
imageSubmit
protected void imageSubmit(String data)
- Overrides:
imageSubmit
in classFormView
-
-