Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

oracle.javatools.editor.folding
Class FoldingFader

java.lang.Object
  extended by 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


Field Summary
static java.lang.String EXPANSION_HIGHLIGHT_NAME
           
static int EXPANSION_HIGHLIGHT_PRIORITY
           
 
Method Summary
static void fadeBlock(CodeFoldingModel model, java.lang.Object block, int[] offsets, BasicEditorPane editorPane)
          Trigger the fading of a code block.
static void registerHighlights()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Method Detail

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 -

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

Copyright © 1997, 2011, Oracle. All rights reserved.