|
SMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Handles the properties for the Editor. The original has been in editor.EditorProperties which is now an implementation of this interface.
| Method Summary | |
void |
addSearch(String search)
Adds a Search string to the Editor. |
Vector |
getSearches()
Returns the list of searches. |
int |
getSpaces()
Gets the number of spaces to substitute for a tab. |
boolean |
indentMixedContent()
Check to find out if the mixed content should be indented when formatting. |
boolean |
isDirectionDown()
Check to find out if the search direction is down. |
boolean |
isMatchCase()
Check to find out if the search matches the case. |
boolean |
isTagCompletion()
Check to find out if the tag completion is enabled. |
EditorProperties |
newEditorProperties(Element element)
Constructor for the editor properties. |
void |
setDirectionDown(boolean downward)
Set the search direction. |
void |
setIndentMixedContent(boolean indent)
Set wether the mixed content should be indented when formatting. |
void |
setMatchCase(boolean matchCase)
Set the match-case search property. |
void |
setSpaces(int spaces)
Set the number of spaces to substitute for a tab. |
void |
setTagCompletion(boolean complete)
Set the tag completion property. |
void |
update()
Updates the searches elements. |
| Methods inherited from interface smacs.xngr.browser.ui.ViewProperties |
getDimension, getPosition, setDimension, setPosition |
| Method Detail |
public EditorProperties newEditorProperties(Element element)
element - the element that contains the properties,
for the editor.public boolean isMatchCase()
public void setMatchCase(boolean matchCase)
matchCase - the search property.public void setSpaces(int spaces)
spaces - the number of spaces.public int getSpaces()
public boolean isTagCompletion()
public void setTagCompletion(boolean complete)
complete - the tag completion property.public boolean indentMixedContent()
public void setIndentMixedContent(boolean indent)
indent - true when the mixed content should be indented.public boolean isDirectionDown()
public void setDirectionDown(boolean downward)
downward - the search direction.public void addSearch(String search)
search - the search.public Vector getSearches()
public void update()
|
SMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||