|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsynergynetframework.appsystem.contentsystem.jme.items.JMEContentItem
synergynetframework.appsystem.contentsystem.jme.items.JMEOrthoContentItem
synergynetframework.appsystem.contentsystem.jme.items.JMEQuadContentItem
synergynetframework.appsystem.contentsystem.jme.items.JMEFrame
synergynetframework.appsystem.contentsystem.jme.items.JMEHtmlFrame
public class JMEHtmlFrame
The Class JMEHtmlFrame.
Constructor Summary | |
---|---|
JMEHtmlFrame(ContentItem contentItem)
Instantiates a new JME html frame. |
Method Summary | |
---|---|
javax.swing.JTextPane |
getPane()
Gets the pane. |
void |
init()
Inits the. |
void |
insertString(int offset,
java.lang.String str,
javax.swing.text.AttributeSet attr)
Insert string. |
void |
remove(int offset,
int length)
Removes the. |
void |
resize()
Resize. |
void |
setHtmlContent(java.lang.String html)
Sets the html content. |
void |
setMaxWidth(int maxWidth)
Sets the max width. |
Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMEFrame |
---|
drawImage, drawImage, flushGraphics, getGraphicsContext, getImages, removeAllImages, removeImage, setAutoFitSize, setBackGround, setBorder, setHeight, setWidth |
Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMEQuadContentItem |
---|
cursorChanged, cursorClicked, cursorPressed, cursorReleased |
Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMEContentItem |
---|
contains, getImplementationObject, getLocalLocation, hasCollision, setAngle, setBoundaryEnabled, setId, setLocation, setManipulate, setScale, setScale, setVisible, setVisible |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IFrameImplementation |
---|
drawImage, drawImage, flushGraphics, getGraphicsContext, getImages, removeAllImages, removeImage |
Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IQuadContentItemImplementation |
---|
setAutoFitSize, setHeight, setWidth |
Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IContentItemImplementation |
---|
addMultitouchListener, contains, getImplementationObject, hasCollision, setAngle, setBackGround, setBorder, setBoundaryEnabled, setId, setLocalLocation, setLocation, setManipulate, setName, setScale, setScale, setVisible, setVisible, update, update |
Constructor Detail |
---|
public JMEHtmlFrame(ContentItem contentItem)
contentItem
- the content itemMethod Detail |
---|
public javax.swing.JTextPane getPane()
IHtmlFrameImplementation
getPane
in interface IHtmlFrameImplementation
public void init()
IContentItemImplementation
init
in interface IContentItemImplementation
init
in class JMEFrame
public void insertString(int offset, java.lang.String str, javax.swing.text.AttributeSet attr)
IHtmlFrameImplementation
insertString
in interface IHtmlFrameImplementation
offset
- the offsetstr
- the strattr
- the attrpublic void remove(int offset, int length)
IHtmlFrameImplementation
remove
in interface IHtmlFrameImplementation
offset
- the offsetlength
- the lengthpublic void resize()
JMEFrame
public void setHtmlContent(java.lang.String html)
IHtmlFrameImplementation
setHtmlContent
in interface IHtmlFrameImplementation
html
- the new html contentpublic void setMaxWidth(int maxWidth)
IHtmlFrameImplementation
setMaxWidth
in interface IHtmlFrameImplementation
maxWidth
- the new max width
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |