|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.text.View
javax.swing.text.ComponentView
eTextReader.applet.AppletComponentView
public class AppletComponentView
Nested Class Summary | |
---|---|
(package private) class |
AppletComponentView.AppletStubImpl
|
(package private) class |
AppletComponentView.MouseEventForwarder
|
Field Summary | |
---|---|
protected javax.swing.JApplet |
applet
|
protected javax.swing.text.AttributeSet |
attributes
|
protected java.lang.String |
code
|
protected java.lang.String |
codebase
|
protected java.net.URL |
documentBase
|
protected int |
height
|
protected int |
width
|
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 | |
---|---|
AppletComponentView(javax.swing.text.Element elem,
java.net.URL _documentBase)
|
Method Summary | |
---|---|
protected java.applet.Applet |
createApplet()
|
protected java.awt.Component |
createComponent()
|
void |
paint(java.awt.Graphics g,
java.awt.Shape a)
|
protected void |
readAppletAttributes()
|
void |
setSize(float w,
float h)
|
Methods inherited from class javax.swing.text.ComponentView |
---|
getAlignment, getComponent, getMaximumSpan, getMinimumSpan, getPreferredSpan, modelToView, 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, updateChildren, updateLayout, viewToModel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int width
protected int height
protected java.lang.String codebase
protected java.lang.String code
protected java.net.URL documentBase
protected javax.swing.text.AttributeSet attributes
protected javax.swing.JApplet applet
Constructor Detail |
---|
public AppletComponentView(javax.swing.text.Element elem, java.net.URL _documentBase)
Method Detail |
---|
protected java.applet.Applet createApplet() throws java.net.MalformedURLException, java.io.IOException, java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
java.net.MalformedURLException
java.io.IOException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
protected java.awt.Component createComponent()
createComponent
in class javax.swing.text.ComponentView
public void paint(java.awt.Graphics g, java.awt.Shape a)
paint
in class javax.swing.text.ComponentView
public void setSize(float w, float h)
setSize
in class javax.swing.text.View
protected void readAppletAttributes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |