|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.text.View
com.inet.html.views.BoxView
com.inet.html.views.ControlView
com.inet.html.views.ObjectView
public class ObjectView
An ObjectView
is basically equal to a HTML form control. It displays some kind
of component depending on it's parameters. This ObjectView
is limited to the
basic functionality of the HTML OBJECT specification. It supports the classid and codebase
parameter as well as simple string parameters. It does not support stacked OBJECT Tags.
Field Summary |
---|
Fields inherited from class com.inet.html.views.ControlView |
---|
TYPE_BUTTON, TYPE_CHECKBOX, TYPE_HIDDEN, TYPE_MENU, TYPE_RADIOBUTTON, TYPE_SELECT, TYPE_TEXTAREA, TYPE_TEXTFIELD |
Fields inherited from class com.inet.html.views.BoxView |
---|
BASELINE, STATUS_REQ_LAYOUT, STATUS_REQ_PRELAYOUT, STATUS_UPTODATE |
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 | |
---|---|
ObjectView(javax.swing.text.Element elem)
For Factory-Use only! |
Method Summary | |
---|---|
void |
componentAdded(java.awt.event.ContainerEvent e)
|
void |
componentRemoved(java.awt.event.ContainerEvent e)
|
boolean |
init()
Create the internal display components |
boolean |
isSubmit()
returns true if this control can submit a form |
boolean |
isSuccessful(ControlView activator)
Determines the current success status for a submit. |
Methods inherited from class com.inet.html.views.ControlView |
---|
getControl, getControlHeight, getControlPanel, getControlWidth, getFirstLineBaseLine, getLayout, getName, getPreferredSpan, getType, getValue, isReset, modelToView, paint, performLayout, performLayoutVAlign, performLayoutWidth, performPreLayout, predictWidth, setParent, toString, viewToModel |
Methods inherited from class javax.swing.text.View |
---|
append, breakView, changedUpdate, createFragment, getAttributes, getBreakWeight, getChildAllocation, getContainer, getDocument, getElement, getGraphics, getMaximumSpan, getMinimumSpan, getNextVisualPositionFrom, getParent, getToolTipText, getView, getViewCount, getViewFactory, getViewIndex, insert, insertUpdate, isVisible, modelToView, modelToView, preferenceChanged, remove, removeAll, removeUpdate, replace, viewToModel |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ObjectView(javax.swing.text.Element elem)
elem
- the Element, which defines the objectMethod Detail |
---|
public boolean init()
public boolean isSubmit()
isSubmit
in class ControlView
public boolean isSuccessful(ControlView activator)
isSuccessful
in class ControlView
activator
- the current button, which submitted the form
http://www.w3.org/TR/REC-html40/interact/forms.html#successful-controls
public void componentAdded(java.awt.event.ContainerEvent e)
componentAdded
in interface java.awt.event.ContainerListener
public void componentRemoved(java.awt.event.ContainerEvent e)
componentRemoved
in interface java.awt.event.ContainerListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |