Class IconifiedTextEditor
java.lang.Object
com.levigo.jadice.web.client.util.command.InjectedCommand
com.levigo.jadice.web.client.internal.annotation.editor.AnnotationPropertyEditor
com.levigo.jadice.web.client.internal.annotation.editor.WidgetBasedAnnotationPropertyEditor
com.levigo.jadice.web.client.internal.annotation.editor.TextEditor
com.levigo.jadice.web.client.internal.annotation.editor.IconifiedTextEditor
- All Implemented Interfaces:
com.levigo.jadice.web.client.ui.internal.DefaultPopupExecutor.Focusable
,MenuContributor
,Command
,WidgetCommand
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.levigo.jadice.web.client.util.command.WidgetCommand
WidgetCommand.Handler
-
Constructor Summary
ConstructorDescriptionIconifiedTextEditor
(int editorWidth, int editorHeight, TextAnnotationWrangler.TextSelection textSelection, TextAnnotationWrangler.CursorPosition cursorPosition, int maxEditorHeight) -
Method Summary
Modifier and TypeMethodDescriptionprotected int
computeEditorHeight
(Point2D transformedSize) skip the input and use the field member valueprotected int
computeEditorWidth
(Point2D transformedSize) Skips the input and uses the field member value.Methods inherited from class com.levigo.jadice.web.client.internal.annotation.editor.TextEditor
adjustCalloutBounds, applyText, createWidget, discardText, focus, getEditorHeight, getEditorWidth, getTextArea, init, setCalloutHeight, setEditorHeight, setEditorWidth, setGlobalAnnotationChangeAllowed, updateHeight
Methods inherited from class com.levigo.jadice.web.client.internal.annotation.editor.WidgetBasedAnnotationPropertyEditor
closePopup, setHandler
Methods inherited from class com.levigo.jadice.web.client.internal.annotation.editor.AnnotationPropertyEditor
applyUndoableEdit, captureMemento, captureStateThenEdit, contribute, execute, getAnnoTool, getIcon, getIcon, getIconName, getPage, getProfile, getRenderControls, getSelectedItems, getUndoManager, repaint, reset, setIconName
Methods inherited from class com.levigo.jadice.web.client.util.command.InjectedCommand
canExecute, canExecute, clearInjections, execute, getKey, isSelected, isSelected, setKey
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.levigo.jadice.web.client.util.command.Command
canExecute, execute, getID, isAvailable, isAvailable, isSelected
-
Constructor Details
-
IconifiedTextEditor
public IconifiedTextEditor() -
IconifiedTextEditor
public IconifiedTextEditor(int editorWidth, int editorHeight, TextAnnotationWrangler.TextSelection textSelection, TextAnnotationWrangler.CursorPosition cursorPosition, int maxEditorHeight)
-
-
Method Details
-
computeEditorWidth
Skips the input and uses the field member value.- Overrides:
computeEditorWidth
in classTextEditor
- Parameters:
transformedSize
- Ignored.- Returns:
- The width of the editor.
-
computeEditorHeight
skip the input and use the field member value- Overrides:
computeEditorHeight
in classTextEditor
- Parameters:
transformedSize
- Ignored.- Returns:
- The height of the editor.
-