| Package | Description |
|---|---|
| edu.mit.blocks.workspace |
| Modifier and Type | Method and Description |
|---|---|
static Page |
Page.getBlankPage(Workspace workspace)
Constructs a new Page
|
Page |
Workspace.getCurrentPage(RenderableBlock block)
Find the page that lies underneath this block
CAN RETURN NULL
|
Page |
PageDivider.getLeftPage() |
Page |
Workspace.getPageNamed(java.lang.String pageName) |
Page |
BlockCanvas.getPageNamed(java.lang.String name) |
Page |
BlockCanvas.removePage(int position) |
Page |
BlockCanvas.removePage(Page page) |
Page |
BlockCanvas.renamePage(java.lang.String oldName,
java.lang.String newName) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Page> |
BlockCanvas.getLeftmostPages(int left) |
java.util.List<Page> |
BlockCanvas.getPages() |
| Modifier and Type | Method and Description |
|---|---|
void |
Workspace.addPage(Page page)
Adds the specified page to the Workspace at the right end of the canvas
|
void |
BlockCanvas.addPage(Page page) |
void |
Workspace.addPage(Page page,
int position)
Adds the specified page to the Workspace at the specified position on the canvas
|
void |
BlockCanvas.addPage(Page page,
int position) |
void |
Workspace.pageSelected(Page page,
boolean byUser)
Marks the page of the specified name as being selected.
|
void |
Workspace.putPage(Page page,
int position)
Places the specified page at the specified index.
|
void |
Workspace.removePage(Page page)
Removes the specified page from the Workspace
|
Page |
BlockCanvas.removePage(Page page) |
void |
BlockCanvas.switchViewToPage(Page page) |
| Constructor and Description |
|---|
PageDivider(Workspace workspace,
Page left) |