|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Survey
It's a reorderable list of Pages, so it implements ReorderableListener.
Field Summary |
---|
Fields inherited from interface org.browsecode.helpers.reorderablelistpanel.ReorderableListModel |
---|
INSERTED_FROM_DELETED_HERE, INSERTED_FROM_ELSEWHERE |
Method Summary | |
---|---|
void |
addUndoableEditListener(javax.swing.event.UndoableEditListener listener)
Registers the given observer to begin receiving notifications when undoable edits are made to the document. |
Page |
getNewPage()
|
QuestionDataBitSet |
getNewQuestion(java.lang.String type,
boolean scaleChoices)
|
java.util.List<Page> |
getPages()
|
boolean |
hasBeenModified()
|
boolean |
isLoginPage(Page page)
Generally returns whether this is the first page in the list. |
void |
removeUndoableEditListener(javax.swing.event.UndoableEditListener listener)
Unregisters the given observer from the notification list so it will no longer receive updates. |
boolean |
save()
Returns false if it does not save correctly, or if there was an error in saving. |
Methods inherited from interface org.browsecode.helpers.reorderablelistpanel.ReorderableListModel |
---|
addReorderableChangeListener, canItemBeMovedElsewhere, deleteItem, getItemCount, insertNewItemAt, iterator, moveItemElsewhere, moveItemToIndex, removeReorderableChangeListener |
Method Detail |
---|
boolean hasBeenModified()
java.util.List<Page> getPages()
boolean save()
QuestionDataBitSet getNewQuestion(java.lang.String type, boolean scaleChoices)
Page getNewPage()
boolean isLoginPage(Page page)
page
-
void addUndoableEditListener(javax.swing.event.UndoableEditListener listener)
listener
- the observer to registerUndoableEditEvent
void removeUndoableEditListener(javax.swing.event.UndoableEditListener listener)
listener
- the observer to registerUndoableEditEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |