|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.malai.ui.UIComposer<javax.swing.JMenuBar>
net.sf.latexdraw.ui.MenubarBuilder
public class MenubarBuilder
The composer that creates the menu bar of the application.
This file is part of LaTeXDraw
Copyright (c) 2005-2012 Arnaud BLOUIN
LaTeXDraw is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
LaTeXDraw is distributed without any warranty; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more details.
12/08/11
Field Summary | |
---|---|
protected MMenu |
displayMenu
This menu contains the menu items related to the visibility of components. |
protected MMenu |
drawingMenu
This menu contains menu items related with drawings. |
protected MMenu |
editMenu
This menu contains menu items related with the editing of shapes. |
protected LFrame |
frame
The main frame of the application. |
protected MMenu |
helpMenu
This menu contains menu items related with the help. |
protected MMenu |
unitMenu
This menu contains menu items to change the unit of the drawing. |
Fields inherited from class org.malai.ui.UIComposer |
---|
widget |
Constructor Summary | |
---|---|
MenubarBuilder(LFrame frame)
Creates the menu bar. |
Method Summary | |
---|---|
void |
compose(MProgressBar progressBar)
This method composes the user interface using instruments, presentations and widgets of the interactive system. |
protected void |
composeDisplayMenu()
Initialises the menu "Display" |
protected void |
composeDrawingMenu()
|
protected void |
composeEditMenu()
|
protected void |
composeHelpMenu()
|
Methods inherited from class org.malai.ui.UIComposer |
---|
getWidget, setWidgetVisible |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected LFrame frame
protected MMenu displayMenu
protected MMenu drawingMenu
protected MMenu editMenu
protected MMenu unitMenu
protected MMenu helpMenu
Constructor Detail |
---|
public MenubarBuilder(LFrame frame)
frame
- The user interface that contains all the instruments.
java.lang.NullPointerException
- If one of the given arguments is null.Method Detail |
---|
public void compose(MProgressBar progressBar)
UIComposer
compose
in class UIComposer<javax.swing.JMenuBar>
progressBar
- The progress bar that can be used to show the progress of the UI composition. Can be null.protected void composeDrawingMenu()
protected void composeEditMenu()
protected void composeHelpMenu()
protected void composeDisplayMenu()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |