|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsynergynetframework.appsystem.contentsystem.items.ContentItem
synergynetframework.appsystem.contentsystem.items.OrthoContentItem
synergynetframework.appsystem.contentsystem.items.QuadContentItem
synergynetframework.appsystem.contentsystem.items.Frame
synergynetframework.appsystem.contentsystem.items.HtmlFrame
public class HtmlFrame
The Class HtmlFrame.
Field Summary |
---|
Fields inherited from class synergynetframework.appsystem.contentsystem.items.OrthoContentItem |
---|
removable |
Fields inherited from class synergynetframework.appsystem.contentsystem.items.ContentItem |
---|
name |
Constructor Summary | |
---|---|
HtmlFrame(ContentSystem contentSystem,
java.lang.String name)
Instantiates a new html frame. |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
java.lang.String |
getHtmlContent()
Gets the html content. |
int |
getMaxWidth()
Gets the max width. |
javax.swing.JTextPane |
getPane()
Gets the pane. |
void |
insertString(int offset,
java.lang.String str,
javax.swing.text.AttributeSet attr)
Insert string. |
void |
remove(int offset,
int length)
Removes the. |
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.items.Frame |
---|
drawImage, drawImage, flushGraphics, getGraphicsContext, getImageResources, getImages, removeAllImages, removeImage |
Methods inherited from class synergynetframework.appsystem.contentsystem.items.QuadContentItem |
---|
addSizeChangeListener, getHeight, getWidth, isAutoFitSize, removeSizeChangeListener, setAutoFit, setAutoFitSize, setHeight, setWidth |
Methods inherited from class synergynetframework.appsystem.contentsystem.items.ContentItem |
---|
addMultitouchListener, canManipulate, contains, generateUniqueName, getAngle, getBackGround, getBackgroundColour, getBorder, getBorderColour, getBorderSize, getContentSystem, getId, getImplementationObject, getLocalLocation, getName, getNote, getResource, getScale, hasCollision, init, initImplementationObjet, isBoundaryEnabled, isVisible, setAngle, setBackGround, setBackgroundColour, setBorder, setBorderColour, setBorderSize, setBoundaryEnabled, setContentSystem, setId, setLocalLocation, setLocalLocation, setLocalLocation, setManipulate, setNote, setResource, setScale, setScale, setVisible, setVisible, update, update |
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, init, setAngle, setBackGround, setBorder, setBoundaryEnabled, setId, setLocalLocation, setLocation, setManipulate, setName, setScale, setScale, setVisible, setVisible, update, update |
Constructor Detail |
---|
public HtmlFrame(ContentSystem contentSystem, java.lang.String name)
contentSystem
- the content systemname
- the nameMethod Detail |
---|
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class QuadContentItem
java.lang.CloneNotSupportedException
public java.lang.String getHtmlContent()
public int getMaxWidth()
public javax.swing.JTextPane getPane()
IHtmlFrameImplementation
getPane
in interface IHtmlFrameImplementation
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 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 |