|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.javatools.editor.folding.AbstractFoldingBlock oracle.javatools.editor.folding.DefaultFoldingBlock
public class DefaultFoldingBlock
A general-purpose implementation describing a collapsible source code block in the code editor.
Constructor Summary | |
---|---|
DefaultFoldingBlock()
|
|
DefaultFoldingBlock(int startOffset,
int endOffset)
|
|
DefaultFoldingBlock(int startOffset,
int endOffset,
java.lang.String replacement)
|
|
DefaultFoldingBlock(int startOffset,
int endOffset,
java.lang.String replacement,
boolean isExpanded)
|
Method Summary | |
---|---|
int |
getEndOffset()
Returns the ending caret offset of this source code block. |
java.lang.String |
getReplacementText()
Returns the abbreviated text used to represent this source code block in the code editor when the block is collapsed. |
int |
getStartOffset()
Returns the starting caret offset of this source code block. |
java.lang.Object |
getUserObject()
|
void |
setEndOffset(int endOffset)
|
void |
setReplacementText(java.lang.String replacement)
|
void |
setStartOffset(int startOffset)
|
void |
setUserObject(java.lang.Object userObject)
|
Methods inherited from class oracle.javatools.editor.folding.AbstractFoldingBlock |
---|
add, bounds, getChildCount, getChildren, getParent, isExpanded, length, remove, removeAll, setExpanded, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultFoldingBlock()
public DefaultFoldingBlock(int startOffset, int endOffset)
public DefaultFoldingBlock(int startOffset, int endOffset, java.lang.String replacement)
public DefaultFoldingBlock(int startOffset, int endOffset, java.lang.String replacement, boolean isExpanded)
Method Detail |
---|
public int getStartOffset()
FoldingBlock
getStartOffset
in interface FoldingBlock
getStartOffset
in class AbstractFoldingBlock
public void setStartOffset(int startOffset)
public int getEndOffset()
FoldingBlock
getEndOffset
in interface FoldingBlock
getEndOffset
in class AbstractFoldingBlock
public void setEndOffset(int endOffset)
public java.lang.String getReplacementText()
FoldingBlock
getReplacementText
in interface FoldingBlock
getReplacementText
in class AbstractFoldingBlock
public void setReplacementText(java.lang.String replacement)
public java.lang.Object getUserObject()
public void setUserObject(java.lang.Object userObject)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |