synergynetframework.appsystem.contentsystem.jme.items
Class JMEHtmlFrame

java.lang.Object
  extended by synergynetframework.appsystem.contentsystem.jme.items.JMEContentItem
      extended by synergynetframework.appsystem.contentsystem.jme.items.JMEOrthoContentItem
          extended by synergynetframework.appsystem.contentsystem.jme.items.JMEQuadContentItem
              extended by synergynetframework.appsystem.contentsystem.jme.items.JMEFrame
                  extended by synergynetframework.appsystem.contentsystem.jme.items.JMEHtmlFrame
All Implemented Interfaces:
IContentItemImplementation, IFrameImplementation, IHtmlFrameImplementation, IOrthoContentItemImplementation, IQuadContentItemImplementation, ScreenCursorListener, OrthoBringToTop.OrthoBringToTopListener, OrthoControlPointRotateTranslateScale.RotateTranslateScaleListener, OrthoCursorEventDispatcher.CommonCursorEventListener, OrthoSnap.SnapListener, FlickMover.FlickListener

public class JMEHtmlFrame
extends JMEFrame
implements IHtmlFrameImplementation

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.JMEOrthoContentItem
addBringToTopListener, addFlickListener, addItemListener, addMultitouchListener, addOrthoControlPointRotateTranslateScaleListener, addScreenCursorListener, addSnapListener, allowMoreThanTwoToRotateAndScale, allowSingleTouchFreeMove, allowSnapToOccupiedLocation, centerItem, cursorRightClicked, flick, getMaxScale, getMinScale, isFlickable, ItemBringToTop, itemFlicked, itemMoved, itemRotated, itemScaled, itemSnapped, makeFlickable, makeUnflickable, placeRandom, removeBringToTopListeners, removeFlickListeners, removeItemListerner, removeOrthoControlPointRotateTranslateScaleListeners, removeScreenCursorListeners, removeSnapListeners, reset, rotateRandom, screenCursorChanged, screenCursorClicked, screenCursorPressed, screenCursorReleased, setAsBottomObject, setAsTopObject, setAsTopObjectAndBroadCastEvent, setBringToTopable, setFixLocations, setLocalLocation, setName, setOrder, setRightClickDistance, setRotateTranslateScalable, setRotateTranslateScalable, setScaleLimit, setSingleTouchRotateTranslate, setSnapable, setTolerance, setZRotateLimit, turnOffEventDispatcher, update, update
 
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.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, setAngle, setBackGround, setBorder, setBoundaryEnabled, setId, setLocalLocation, setLocation, setManipulate, setName, setScale, setScale, setVisible, setVisible, update, update
 

Constructor Detail

JMEHtmlFrame

public JMEHtmlFrame(ContentItem contentItem)
Instantiates a new JME html frame.

Parameters:
contentItem - the content item
Method Detail

getPane

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

Specified by:
getPane in interface IHtmlFrameImplementation
Returns:
the pane

init

public void init()
Description copied from interface: IContentItemImplementation
Inits the.

Specified by:
init in interface IContentItemImplementation
Overrides:
init in class JMEFrame

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

resize

public void resize()
Description copied from class: JMEFrame
Resize.


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