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
ConstructorsConstructorDescriptionIconifiedTextEditor(int editorWidth, int editorHeight, TextAnnotationWrangler.TextSelection textSelection, TextAnnotationWrangler.CursorPosition cursorPosition, int maxEditorHeight) -
Method Summary
Modifier and TypeMethodDescriptionprotected intcomputeEditorHeight(Point2D transformedSize) skip the input and use the field member valueprotected intcomputeEditorWidth(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, updateHeightMethods inherited from class com.levigo.jadice.web.client.internal.annotation.editor.WidgetBasedAnnotationPropertyEditor
closePopup, setHandlerMethods 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, setIconNameMethods inherited from class com.levigo.jadice.web.client.util.command.InjectedCommand
canExecute, canExecute, clearInjections, execute, getKey, isSelected, isSelected, setKeyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
computeEditorWidthin classTextEditor- Parameters:
transformedSize- Ignored.- Returns:
- The width of the editor.
-
computeEditorHeight
skip the input and use the field member value- Overrides:
computeEditorHeightin classTextEditor- Parameters:
transformedSize- Ignored.- Returns:
- The height of the editor.
-