|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StyleManager
Manages styles within the EditLive! document.
Method Summary | |
---|---|
void |
addTemporaryStyle(String selector,
String rules)
Add a temporary style to the spreadsheet. |
void |
notifyOfStyleChanges()
Notify the editor of a wholesale change to the document styles. |
void |
notifyOfStyleChanges(int start,
int length)
Notify the editor of style changes in a given area of the document. |
Method Detail |
---|
void addTemporaryStyle(String selector, String rules)
selector
- class selector (text before the {} in a CSS style)rules
- selector rules (text between the {} in a CSS style)void notifyOfStyleChanges()
void notifyOfStyleChanges(int start, int length)
notifyOfStyleChanges()
as it
does not cause the entire document to be rerendered.
start
- start position of the affected style changelength
- length of the text affected by this style change
|
Copyright (c) 2005-2012 Ephox Pty Ltd. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |