Uses of Class
edu.rice.cs.drjava.model.definitions.indent.Indenter.IndentReason

Packages that use Indenter.IndentReason
edu.rice.cs.drjava.model The model package is responsible for the majority of the logic and state in DrJava. 
edu.rice.cs.drjava.model.definitions Provides the data model for storing Java source code. 
edu.rice.cs.drjava.model.definitions.indent Provides a decision tree used to correctly indent the current line. 
edu.rice.cs.drjava.ui The ui package contains classes for the default user interface for DrJava. 
 

Uses of Indenter.IndentReason in edu.rice.cs.drjava.model
 

Methods in edu.rice.cs.drjava.model with parameters of type Indenter.IndentReason
private  void AbstractDJDocument._indentBlock(int start, int end, Indenter.IndentReason reason, javax.swing.ProgressMonitor pm)
          Indents the lines between and including the lines containing points start and end.
 boolean AbstractDJDocument._indentLine(Indenter.IndentReason reason)
          Indents a line using the Indenter.
 void AbstractGlobalModel.ConcreteOpenDefDoc.indentLines(int selStart, int selEnd, Indenter.IndentReason reason, javax.swing.ProgressMonitor pm)
           
 void DummyOpenDefDoc.indentLines(int selStart, int selEnd, Indenter.IndentReason reason, javax.swing.ProgressMonitor pm)
           
 void AbstractDJDocument.indentLines(int selStart, int selEnd, Indenter.IndentReason reason, javax.swing.ProgressMonitor pm)
          Parameterized indentation for special-case handling.
 void DJDocument.indentLines(int selStart, int selEnd, Indenter.IndentReason reason, javax.swing.ProgressMonitor pm)
          Parameterized indentation for special-case handling.
 

Uses of Indenter.IndentReason in edu.rice.cs.drjava.model.definitions
 

Methods in edu.rice.cs.drjava.model.definitions with parameters of type Indenter.IndentReason
private  void IndentTest.safeIndentLine(Indenter.IndentReason reason)
          Convenience method that performs _doc._indentLine in the event thread.
 

Uses of Indenter.IndentReason in edu.rice.cs.drjava.model.definitions.indent
 

Methods in edu.rice.cs.drjava.model.definitions.indent that return Indenter.IndentReason
static Indenter.IndentReason Indenter.IndentReason.valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Indenter.IndentReason[] Indenter.IndentReason.values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 

Methods in edu.rice.cs.drjava.model.definitions.indent with parameters of type Indenter.IndentReason
(package private) abstract  boolean IndentRuleQuestion.applyRule(AbstractDJDocument doc, Indenter.IndentReason reason)
          Determines if the given rule holds in this context.
(package private)  boolean QuestionExistsCharInPrevStmt.applyRule(AbstractDJDocument doc, Indenter.IndentReason reason)
          Searches through the previous statement to determine if it contains char _lookFor (unshadowed).
(package private)  boolean QuestionHasCharPrecedingOpenBrace.applyRule(AbstractDJDocument doc, Indenter.IndentReason reason)
          Applies the rule described in class documentation.
(package private)  boolean QuestionLineContains.applyRule(AbstractDJDocument doc, Indenter.IndentReason reason)
          Determines if the given character exists on the current line.
(package private)  boolean QuestionBraceIsCurly.applyRule(AbstractDJDocument doc, Indenter.IndentReason reason)
           
(package private)  boolean QuestionStartingNewStmt.applyRule(AbstractDJDocument doc, Indenter.IndentReason reason)
          Determines if the previous non-whitespace character not on this line was one of the following: ';', '{', '}' or nothing.
(package private)  boolean QuestionStartAfterOpenBrace.applyRule(AbstractDJDocument doc, Indenter.IndentReason reason)
          Assumes read lock is already held.
(package private)  boolean QuestionPrevLineStartsJavaDocWithText.applyRule(AbstractDJDocument doc, Indenter.IndentReason reason)
          Determines if the previous line starts with "/**", ignoring whitespace, followed by more non-whitespace text
(package private)  boolean QuestionPrevLineStartsWith.applyRule(AbstractDJDocument doc, Indenter.IndentReason reason)
          Determines if the previous line in the document starts with the specified characters, ignoring whitespace.
(package private)  boolean QuestionInsideComment.applyRule(AbstractDJDocument doc, Indenter.IndentReason reason)
          Determines if the (start of the) current line in the document is in a block comment.
(package private)  boolean QuestionCurrLineEmpty.applyRule(AbstractDJDocument doc, Indenter.IndentReason reason)
          Determines if the current line in the document is empty.
(package private)  boolean QuestionCurrLineStartsWith.applyRule(AbstractDJDocument doc, Indenter.IndentReason reason)
          Determines if the current line in the document starts with the specified prefix, ignoring whitespace.
(package private)  boolean QuestionFollowedByStar.applyRule(AbstractDJDocument doc, Indenter.IndentReason reason)
          Determines if the next non WS character is '*'.
(package private)  boolean QuestionCurrLineEmptyOrEnterPress.applyRule(AbstractDJDocument doc, Indenter.IndentReason reason)
          Determines if the current line in the document is empty.
(package private)  boolean QuestionPrevLineStartsComment.applyRule(AbstractDJDocument doc, Indenter.IndentReason reason)
          Determines if the previous line in the document starts a block comment.
(package private)  boolean QuestionCurrLineStartsWithSkipComments.applyRule(AbstractDJDocument doc, Indenter.IndentReason reason)
          Determines whether or not the current line in the document starts with the character sequence specified by the String field _prefix, skipping over any comments and leading whitespace on that line.
(package private)  boolean QuestionExistsCharInStmt.applyRule(AbstractDJDocument doc, Indenter.IndentReason reason)
          Searches backwards from endChar to the start of the statement looking for findChar.
(package private)  boolean QuestionCurrLineIsWingComment.applyRule(AbstractDJDocument doc, Indenter.IndentReason reason)
          Determines whether or not the current line in the document starts with the wing comment prefix "//".
(package private)  boolean QuestionNewParenPhrase.applyRule(AbstractDJDocument doc, Indenter.IndentReason reason)
          Determines if the previous line ends in a comma, semicolon, open paren, open bracket, operator, or comparator.
protected  boolean QuestionBraceIsParenOrBracket.applyRule(AbstractDJDocument doc, Indenter.IndentReason reason)
           
(package private)  boolean IndentRuleQuestion.applyRule(AbstractDJDocument doc, int pos, Indenter.IndentReason reason)
          Determines if the given rule holds in this context.
 boolean Indenter.indent(AbstractDJDocument doc, Indenter.IndentReason reason)
          Indents the current line based on a decision tree which determines the indent based on context.
 boolean IndentRuleQuestion.indentLine(AbstractDJDocument doc, Indenter.IndentReason reason)
          Determines if the given rule holds in this context and calls the same method on one of its child nodes.
 boolean ActionStartStmtOfBracePlus.indentLine(AbstractDJDocument doc, Indenter.IndentReason reason)
          Properly indents the line that the caret is currently on.
 boolean ActionBracePlus.indentLine(AbstractDJDocument doc, Indenter.IndentReason reason)
          Properly indents the line that the caret is currently on.
 boolean ActionDoNothing.indentLine(AbstractDJDocument doc, Indenter.IndentReason reason)
          Properly indents the line that the caret is currently on.
 boolean ActionStartCurrStmtPlus.indentLine(AbstractDJDocument doc, Indenter.IndentReason reason)
          Properly indents the line that the caret is currently on.
 boolean ActionStartPrevLinePlusMultiline.indentLine(AbstractDJDocument doc, Indenter.IndentReason reason)
          Indents the line according to the previous line, with the suffix lines added and the cursor moved to a specific location.
 boolean IndentRuleWithTrace.indentLine(AbstractDJDocument doc, Indenter.IndentReason reason)
          This method does not indent the current line!
 boolean IndentRule.indentLine(AbstractDJDocument doc, Indenter.IndentReason reason)
          Properly indents the line that the given position is on.
 boolean ActionStartPrevStmtPlus.indentLine(AbstractDJDocument doc, Indenter.IndentReason reason)
          Properly indents the line that the caret is currently on.
 boolean ActionStartPrevLinePlus.indentLine(AbstractDJDocument doc, Indenter.IndentReason reason)
          Indents the line according to the previous line, with the suffix string added.
 boolean ActionStartPrevLinePlusMultilinePreserve.indentLine(AbstractDJDocument doc, Indenter.IndentReason reason)
          Forwards the call to the enclosed ActionStartPrevLinePlusMultiline.
 boolean IndentRuleWithTrace.indentLine(AbstractDJDocument doc, int pos, Indenter.IndentReason reason)
          Properly indents the line identified by pos.
(package private)  boolean IndentRuleQuestion.testApplyRule(AbstractDJDocument doc, Indenter.IndentReason reason)
          Convenience method that wraps calls on applyRule in a read lock.
(package private)  boolean IndentRuleQuestion.testApplyRule(AbstractDJDocument doc, int pos, Indenter.IndentReason reason)
          Convenience method that wraps calls on applyRule in a read lock.
 boolean IndentRuleQuestion.testIndentLine(AbstractDJDocument doc, Indenter.IndentReason reason)
          Convenience method that wraps calls on indentLine in a write lock.
 boolean IndentRuleWithTrace.testIndentLine(AbstractDJDocument doc, Indenter.IndentReason reason)
          Convenience method that wraps calls on indentLine in a write lock.
 boolean IndentRuleWithTrace.testIndentLine(AbstractDJDocument doc, int pos, Indenter.IndentReason reason)
          Convenience method that wraps calls on indentLine in a write lock.
 

Uses of Indenter.IndentReason in edu.rice.cs.drjava.ui
 

Methods in edu.rice.cs.drjava.ui that return Indenter.IndentReason
protected  Indenter.IndentReason DefinitionsPane.IndentKeyAction.getIndentReason()
          This method tells what the reason should be for spawning this indent event Defaults to Indenter.IndentReason.OTHER
 

Methods in edu.rice.cs.drjava.ui with parameters of type Indenter.IndentReason
 void AbstractDJPane.indent(Indenter.IndentReason reason)
          Perform an indent either on the current line or on the given selected box of text.
protected abstract  void AbstractDJPane.indentLines(int selStart, int selEnd, Indenter.IndentReason reason, javax.swing.ProgressMonitor pm)
          Indents the given selection, for the given reason, in the current document.
protected  void DefinitionsPane.indentLines(int selStart, int selEnd, Indenter.IndentReason reason, javax.swing.ProgressMonitor pm)
          Indent the given selection, for the given reason, in the current document.
protected  void InteractionsPane.indentLines(int selStart, int selEnd, Indenter.IndentReason reason, javax.swing.ProgressMonitor pm)
          Indent the given selection, for the given reason, in the current document.