|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmvp.View
protoj.view_ui.ViewMenu
public class ViewMenu
ViewMenu class definition. This is the view class that has all the menu items of the ViewMenu.
Field Summary | |
---|---|
protected int |
cShowHide
Component show/hide indicator |
protected GridSpacingDialog |
gridSpacingDialog
local reference to the GridSpacingDialog. |
protected LayersDialog |
layersDialog
local reference to the LayersDialog. |
protected PagesDialog |
pagesDialog
local reference to the PagesDialog. |
protected ProtoJUI |
protojUI
A Reference to the parent UI. |
protected View |
view
View model object |
Fields inherited from class mvp.View |
---|
closeAdapter, editable, model, screen, shown, widget, window |
Constructor Summary | |
---|---|
ViewMenu(mvp.Screen screen,
View view,
ProtoJUI protojUI)
Construct the ViewMenu object |
Method Summary | |
---|---|
protected void |
addCenterPage()
Add the 'Center Page' menu item. |
protected void |
addGriddingOn()
Add the 'Gridding On' menu item. |
protected void |
addGridSpacing()
Add the 'Grid Spacing' menu item. |
protected void |
addHideComponents()
Add the 'Hide Components' menu item. |
protected void |
addHideDrawing()
Add the 'Hide Drawing' menu item. |
protected void |
addHideGridLines()
Add the 'Hide Grid Lines' menu item. |
protected void |
addHideText()
Add the 'Hide Text' menu item. |
protected void |
addHome()
Add the 'Home' menu item. |
protected void |
addLayers()
Add the 'Layers' menu item. |
protected void |
addNormalSize()
Add the 'Normal Size' menu item. |
protected void |
addPage()
Add the 'Page' menu item. |
protected void |
addSeparator()
Add the "Separator" menu item. |
protected void |
addShowGrouping()
Add the 'ShowGrouping' menu item. |
protected void |
addWindows()
Add the 'Windows' menu item. |
protected void |
addZoomIn()
Add the 'Zoom In' menu item. |
protected void |
addZoomOut()
Add the 'Zoom Out' menu item. |
java.awt.Component |
compose()
Compose view menu items |
View |
getView()
Return the View object |
Methods inherited from class mvp.View |
---|
getModel, getWidget, getWindow, hide, isEditable, isShown, run, setEditable, setExitOnClose, setModel, show, show, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected View view
protected GridSpacingDialog gridSpacingDialog
protected int cShowHide
protected LayersDialog layersDialog
protected PagesDialog pagesDialog
protected ProtoJUI protojUI
Constructor Detail |
---|
public ViewMenu(mvp.Screen screen, View view, ProtoJUI protojUI)
Method Detail |
---|
public java.awt.Component compose()
compose
in class mvp.View
protected void addZoomIn()
protected void addZoomOut()
protected void addNormalSize()
protected void addCenterPage()
protected void addHome()
protected void addGriddingOn()
protected void addHideGridLines()
protected void addGridSpacing()
protected void addHideDrawing()
protected void addHideComponents()
protected void addHideText()
protected void addShowGrouping()
protected void addLayers()
protected void addPage()
protected void addWindows()
protected void addSeparator()
public View getView()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |