Skip navigation links
oracle.javatools.editor.folding
Class FoldingFader
java.lang.Object
oracle.javatools.editor.folding.FoldingFader
-
public final class FoldingFader
- extends java.lang.Object
Class to animate a background color fade for newly expanded and collapsed blocks. The class should be invoked by calling the static method: fade block
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EXPANSION_HIGHLIGHT_PRIORITY
public static final int EXPANSION_HIGHLIGHT_PRIORITY
-
- See Also:
- Constant Field Values
EXPANSION_HIGHLIGHT_NAME
public static final java.lang.String EXPANSION_HIGHLIGHT_NAME
-
- See Also:
- Constant Field Values
registerHighlights
public static void registerHighlights()
fadeBlock
public static void fadeBlock(CodeFoldingModel model,
java.lang.Object block,
int[] offsets,
BasicEditorPane editorPane)
- Trigger the fading of a code block. If the block is already fading then the previous fade is stopped and the new one started.
-
- Parameters:
model
-
block
-
offsets
-
editorPane
-
Skip navigation links
Copyright © 1997, 2012, Oracle. All rights reserved.