public class ExpandableEditorSupport extends ExpandableSupport<EditorTextField>
ExpandableSupport.Content
Constructor and Description |
---|
ExpandableEditorSupport(EditorTextField field) |
ExpandableEditorSupport(EditorTextField field,
Function<? super java.lang.String,? extends java.util.List<java.lang.String>> parser,
Function<? super java.util.List<java.lang.String>,java.lang.String> joiner) |
Modifier and Type | Method and Description |
---|---|
protected EditorTextField |
createPopupEditor(EditorTextField field,
java.lang.String text) |
protected void |
initFieldEditor(EditorEx editor,
java.awt.Color background) |
protected void |
initPopupEditor(EditorEx editor,
java.awt.Color background) |
protected ExpandableSupport.Content |
prepare(EditorTextField field,
Function<? super java.lang.String,java.lang.String> onShow) |
protected void |
updateFieldFolding(EditorEx editor) |
collapse, createCollapseExtension, createExpandExtension, createLabel, expand, getComment, getTitle, isExpanded, setComment, setTitle
public ExpandableEditorSupport(EditorTextField field)
public ExpandableEditorSupport(EditorTextField field, Function<? super java.lang.String,? extends java.util.List<java.lang.String>> parser, Function<? super java.util.List<java.lang.String>,java.lang.String> joiner)
protected void initPopupEditor(EditorEx editor, java.awt.Color background)
protected void initFieldEditor(EditorEx editor, java.awt.Color background)
protected void updateFieldFolding(EditorEx editor)
protected ExpandableSupport.Content prepare(EditorTextField field, Function<? super java.lang.String,java.lang.String> onShow)
prepare
in class ExpandableSupport<EditorTextField>
field
- the source expandable component covered by the popuponShow
- a string converter from the source to the popup contentprotected EditorTextField createPopupEditor(EditorTextField field, java.lang.String text)