|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.malai.ui.UIComposer<LFrame>
net.sf.latexdraw.ui.UIBuilder
public class UIBuilder
This composer composes the latexdraw user interface.
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.
20/31/2010
Field Summary | |
---|---|
protected MenubarBuilder |
menubarBuilder
The menu bar composer. |
protected PropertiesToolbarBuilder |
propToolbarBuilder
The properties tool bar composer. |
protected ToolbarBuilder |
toolbarBuilder
The tool bar composer. |
Fields inherited from class org.malai.ui.UIComposer |
---|
widget |
Constructor Summary | |
---|---|
UIBuilder(LFrame frame)
Creates the composer of the latexdraw user interface. |
Method Summary | |
---|---|
void |
compose(MProgressBar progressBar)
This method composes the user interface using instruments, presentations and widgets of the interactive system. |
protected void |
initialiseInstrumentsActivation()
|
protected void |
setEventableToInstruments()
Sets the eventable objects to the instruments. |
protected void |
setGlobalShortcutEventable(Instrument instrument,
LCanvas canvas)
|
void |
setWidgetVisible(java.awt.Component widget,
boolean visible)
Changes the visibility of the given widget and may launch a process of recomposition/adaptation of the UI if needed. |
Methods inherited from class org.malai.ui.UIComposer |
---|
getWidget |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected MenubarBuilder menubarBuilder
protected ToolbarBuilder toolbarBuilder
protected PropertiesToolbarBuilder propToolbarBuilder
Constructor Detail |
---|
public UIBuilder(LFrame frame)
frame
- The frame of the interactive system that contains the instruments and presentations to compose.Method Detail |
---|
public void setWidgetVisible(java.awt.Component widget, boolean visible)
UIComposer
setWidgetVisible
in class UIComposer<LFrame>
widget
- The widget to change its visibility.visible
- True: the widget will be visible.public void compose(MProgressBar progressBar)
UIComposer
compose
in class UIComposer<LFrame>
progressBar
- The progress bar that can be used to show the progress of the UI composition. Can be null.protected void setEventableToInstruments()
protected void setGlobalShortcutEventable(Instrument instrument, LCanvas canvas)
protected void initialiseInstrumentsActivation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |