synergynetframework.appsystem.contentsystem.items.innernotecontroller
Class InnerNoteController

java.lang.Object
  extended by synergynetframework.appsystem.contentsystem.items.innernotecontroller.InnerNoteController
All Implemented Interfaces:
InnerNoteEventListener

public class InnerNoteController
extends java.lang.Object
implements InnerNoteEventListener

The Class InnerNoteController.


Constructor Summary
InnerNoteController()
          Instantiates a new inner note controller.
 
Method Summary
 void addInnerNoteEventListener(InnerNoteEventListener l)
          Adds the inner note event listener.
 void addNoteController(java.util.Collection<ContentItem> collection)
          Adds the note controller.
 void addNoteController(ContentItem item)
          Adds the note controller.
 void addNoteController(ContentItem parentItem, QuadContentItem mainSubItem)
          Adds the note controller.
 void addNoteEditor(QuadContentItem quadItem)
          Adds the note editor.
 void addNoteEditor(QuadContentItem quadItem, ContentItem parentItem)
          Adds the note editor.
 InnerNoteEditor getNodeEditor(QuadContentItem item)
          Gets the node editor.
 java.util.Map<QuadContentItem,InnerNoteEditor> getNodeEditors()
          Gets the node editors.
 void noteBringToTop(ContentItem edittedItem)
          Note bring to top.
 void noteChanged(ContentItem item, java.lang.String text)
          Note changed.
 void noteLabelOn(ContentItem item, boolean noteLabelOn)
          Note label on.
 void noteRotated(ContentItem edittedItem, float newAngle, float oldAngle)
          Note rotated.
 void noteScaled(ContentItem edittedItem, float newScaleFactor, float oldScaleFactor)
          Note scaled.
 void noteTranslated(ContentItem edittedItem, float newLocationX, float newLocationY, float oldLocationX, float oldLocationY)
          Note translated.
 void removeAllNoteEditors()
          Removes the all note editors.
 void removeInnerNoteEventListener(InnerNoteEditListener l)
          Removes the inner note event listener.
 void removeInnerNoteEventListeners()
          Removes the inner note event listeners.
 void removeNoteEditor(QuadContentItem item)
          Removes the note editor.
 void removeNoteEditor(QuadContentItem item, ContentItem parentItem)
          Removes the note editor.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InnerNoteController

public InnerNoteController()
Instantiates a new inner note controller.

Method Detail

addInnerNoteEventListener

public void addInnerNoteEventListener(InnerNoteEventListener l)
Adds the inner note event listener.

Parameters:
l - the l

addNoteController

public void addNoteController(java.util.Collection<ContentItem> collection)
Adds the note controller.

Parameters:
collection - the collection

addNoteController

public void addNoteController(ContentItem item)
Adds the note controller.

Parameters:
item - the item

addNoteController

public void addNoteController(ContentItem parentItem,
                              QuadContentItem mainSubItem)
Adds the note controller.

Parameters:
parentItem - the parent item
mainSubItem - the main sub item

addNoteEditor

public void addNoteEditor(QuadContentItem quadItem)
Adds the note editor.

Parameters:
quadItem - the quad item

addNoteEditor

public void addNoteEditor(QuadContentItem quadItem,
                          ContentItem parentItem)
Adds the note editor.

Parameters:
quadItem - the quad item
parentItem - the parent item

getNodeEditor

public InnerNoteEditor getNodeEditor(QuadContentItem item)
Gets the node editor.

Parameters:
item - the item
Returns:
the node editor

getNodeEditors

public java.util.Map<QuadContentItem,InnerNoteEditor> getNodeEditors()
Gets the node editors.

Returns:
the node editors

noteBringToTop

public void noteBringToTop(ContentItem edittedItem)
Description copied from interface: InnerNoteEventListener
Note bring to top.

Specified by:
noteBringToTop in interface InnerNoteEventListener
Parameters:
edittedItem - the editted item

noteChanged

public void noteChanged(ContentItem item,
                        java.lang.String text)
Description copied from interface: InnerNoteEventListener
Note changed.

Specified by:
noteChanged in interface InnerNoteEventListener
Parameters:
item - the item
text - the text

noteLabelOn

public void noteLabelOn(ContentItem item,
                        boolean noteLabelOn)
Description copied from interface: InnerNoteEventListener
Note label on.

Specified by:
noteLabelOn in interface InnerNoteEventListener
Parameters:
item - the item
noteLabelOn - the note label on

noteRotated

public void noteRotated(ContentItem edittedItem,
                        float newAngle,
                        float oldAngle)
Description copied from interface: InnerNoteEventListener
Note rotated.

Specified by:
noteRotated in interface InnerNoteEventListener
Parameters:
edittedItem - the editted item
newAngle - the new angle
oldAngle - the old angle

noteScaled

public void noteScaled(ContentItem edittedItem,
                       float newScaleFactor,
                       float oldScaleFactor)
Description copied from interface: InnerNoteEventListener
Note scaled.

Specified by:
noteScaled in interface InnerNoteEventListener
Parameters:
edittedItem - the editted item
newScaleFactor - the new scale factor
oldScaleFactor - the old scale factor

noteTranslated

public void noteTranslated(ContentItem edittedItem,
                           float newLocationX,
                           float newLocationY,
                           float oldLocationX,
                           float oldLocationY)
Description copied from interface: InnerNoteEventListener
Note translated.

Specified by:
noteTranslated in interface InnerNoteEventListener
Parameters:
edittedItem - the editted item
newLocationX - the new location x
newLocationY - the new location y
oldLocationX - the old location x
oldLocationY - the old location y

removeAllNoteEditors

public void removeAllNoteEditors()
Removes the all note editors.


removeInnerNoteEventListener

public void removeInnerNoteEventListener(InnerNoteEditListener l)
Removes the inner note event listener.

Parameters:
l - the l

removeInnerNoteEventListeners

public void removeInnerNoteEventListeners()
Removes the inner note event listeners.


removeNoteEditor

public void removeNoteEditor(QuadContentItem item)
Removes the note editor.

Parameters:
item - the item

removeNoteEditor

public void removeNoteEditor(QuadContentItem item,
                             ContentItem parentItem)
Removes the note editor.

Parameters:
item - the item
parentItem - the parent item