synergynetframework.appsystem.contentsystem.items
Class HtmlFrame

java.lang.Object
  extended by synergynetframework.appsystem.contentsystem.items.ContentItem
      extended by synergynetframework.appsystem.contentsystem.items.OrthoContentItem
          extended by synergynetframework.appsystem.contentsystem.items.QuadContentItem
              extended by synergynetframework.appsystem.contentsystem.items.Frame
                  extended by synergynetframework.appsystem.contentsystem.items.HtmlFrame
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<OrthoContentItem>, IContentItemImplementation, IFrameImplementation, IHtmlFrameImplementation, IOrthoContentItemImplementation, IQuadContentItemImplementation, BringToTopListener, ItemListener, OrthoControlPointRotateTranslateScaleListener, OrthoFlickListener, OrthoScaleMotionListener, OrthoSnapListener, OrthoSpinListener

public class HtmlFrame
extends Frame
implements IHtmlFrameImplementation, java.io.Serializable, java.lang.Cloneable

The Class HtmlFrame.

See Also:
Serialized Form

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.OrthoContentItem
addBringToTopListener, addFlickListener, addItemListener, addOrthoControlPointRotateTranslateScaleListener, addScreenCursorListener, addSnapListener, allowMoreThanTwoToRotateAndScale, allowSingleTouchFreeMove, allowSnapToOccupiedLocation, bindImplementationOjbect, centerItem, compareTo, cursorChanged, cursorClicked, cursorDoubleClicked, cursorLongHeld, cursorPressed, cursorReleased, cursorRightClicked, enableMultiTouchElementListeners, fireCursorChanged, fireCursorClicked, fireCursorDoubleClicked, fireCursorLongHeld, fireCursorPressed, fireCursorReleased, fireCursorRightClicked, fireScreenCursorChanged, fireScreenCursorClicked, fireScreenCursorPressed, fireScreenCursorReleased, flick, getBringToTopListeners, getFlickDeceleration, getFlickListeners, getItemListeners, getLocation, getMaxScale, getMinScale, getOrder, getOrthoControlPointRotateTranslateScaleListeners, getOrthoSnapListeners, getParent, getScaleMotionDeceleration, getScaleMotionListeners, getSpinListeners, isBringToTopEnabled, isFlickable, isRotateTranslateScaleEnabled, isSingleTouchRotateTranslate, isSnapEnabled, itemBringToToped, itemFlicked, itemRotated, itemScaled, itemScaleMotioned, itemSnapped, itemSpun, itemTranslated, makeFlickable, makeUnflickable, placeRandom, removeBringToTopListeners, removeBringToTopListeners, removeFlickListeners, removeFlickListeners, removeItemListerner, removeItemListerners, removeOrthoControlPointRotateTranslateScaleListeners, removeOrthoControlPointRotateTranslateScaleListeners, removeScreenCursorListeners, removeSnapListeners, removeSnapListeners, reset, rotateRandom, setAsBottomObject, setAsTopObject, setAsTopObjectAndBroadCastEvent, setBringToTopable, setBringToTopListeners, setFixLocations, setFlickListeners, setItemListeners, setLocation, setLocation, setName, setOrder, setOrthoControlPointRotateTranslateScaleListeners, setOrthoSnapListeners, setRightClickDistance, setRotateTranslateScalable, setRotateTranslateScalable, setScaleLimit, setScaleMotionListeners, setSingleTouchRotateTranslate, setSnapable, setSpinListeners, setTolerance, setZRotateLimit, turnOffEventDispatcher
 
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.IOrthoContentItemImplementation
addBringToTopListener, addFlickListener, addItemListener, addOrthoControlPointRotateTranslateScaleListener, addScreenCursorListener, addSnapListener, allowMoreThanTwoToRotateAndScale, allowSingleTouchFreeMove, allowSnapToOccupiedLocation, centerItem, flick, getMaxScale, getMinScale, isFlickable, makeFlickable, makeUnflickable, placeRandom, removeBringToTopListeners, removeFlickListeners, removeItemListerner, removeOrthoControlPointRotateTranslateScaleListeners, removeScreenCursorListeners, removeSnapListeners, reset, rotateRandom, setAsBottomObject, setAsTopObject, setAsTopObjectAndBroadCastEvent, setBringToTopable, setFixLocations, setOrder, setRightClickDistance, setRotateTranslateScalable, setRotateTranslateScalable, setScaleLimit, setSingleTouchRotateTranslate, setSnapable, setTolerance, setZRotateLimit, turnOffEventDispatcher
 
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

HtmlFrame

public HtmlFrame(ContentSystem contentSystem,
                 java.lang.String name)
Instantiates a new html frame.

Parameters:
contentSystem - the content system
name - the name
Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class QuadContentItem
Throws:
java.lang.CloneNotSupportedException

getHtmlContent

public java.lang.String getHtmlContent()
Gets the html content.

Returns:
the html content

getMaxWidth

public int getMaxWidth()
Gets the max width.

Returns:
the max width

getPane

public javax.swing.JTextPane getPane()
Description copied from interface: IHtmlFrameImplementation
Gets the pane.

Specified by:
getPane in interface IHtmlFrameImplementation
Returns:
the pane

insertString

public void insertString(int offset,
                         java.lang.String str,
                         javax.swing.text.AttributeSet attr)
Description copied from interface: IHtmlFrameImplementation
Insert string.

Specified by:
insertString in interface IHtmlFrameImplementation
Parameters:
offset - the offset
str - the str
attr - the attr

remove

public void remove(int offset,
                   int length)
Description copied from interface: IHtmlFrameImplementation
Removes the.

Specified by:
remove in interface IHtmlFrameImplementation
Parameters:
offset - the offset
length - the length

setHtmlContent

public void setHtmlContent(java.lang.String html)
Description copied from interface: IHtmlFrameImplementation
Sets the html content.

Specified by:
setHtmlContent in interface IHtmlFrameImplementation
Parameters:
html - the new html content

setMaxWidth

public void setMaxWidth(int maxWidth)
Description copied from interface: IHtmlFrameImplementation
Sets the max width.

Specified by:
setMaxWidth in interface IHtmlFrameImplementation
Parameters:
maxWidth - the new max width