Package com.ardor3d.example.ui
Class PopOverUIExample
java.lang.Object
com.ardor3d.example.ExampleBase
com.ardor3d.example.ui.PopOverUIExample
- All Implemented Interfaces:
ActionListener
,Scene
,Updater
,Runnable
Illustrates the use of Popup and Pie menus.
-
Field Summary
Fields inherited from class com.ardor3d.example.ExampleBase
_canvas, _controlHandle, _doShot, _exit, _frameHandler, _lightState, _logicalLayer, _minAlphaBits, _minDepthBits, _minStencilBits, _mouseManager, _physicalLayer, _root, _screenShotExp, _settings, _showBounds, _showDepth, _showNormals, _stereo, _timer, _wireframeState, _worldUp, light, QUIT_VM_ON_EXIT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
actionPerformed
(ActionEvent event) Implement this method to perform your actionprotected void
static void
protected void
renderExample
(Renderer renderer) protected void
showPieMenu
(int hudX, int hudY) protected void
showPopupMenu
(int hudX, int hudY) protected void
updateExample
(ReadOnlyTimer timer) protected void
updateLogicalLayer
(ReadOnlyTimer timer) Methods inherited from class com.ardor3d.example.ExampleBase
doPick, exit, getAttributes, init, processPicks, quit, registerInputTriggers, renderDebug, renderUnto, run, start, update
-
Constructor Details
-
PopOverUIExample
public PopOverUIExample()
-
-
Method Details
-
main
-
initExample
protected void initExample()- Specified by:
initExample
in classExampleBase
-
actionPerformed
Description copied from interface:ActionListener
Implement this method to perform your action- Specified by:
actionPerformed
in interfaceActionListener
- Parameters:
event
- the event
-
showPopupMenu
protected void showPopupMenu(int hudX, int hudY) -
showPieMenu
protected void showPieMenu(int hudX, int hudY) -
updateLogicalLayer
- Overrides:
updateLogicalLayer
in classExampleBase
-
renderExample
- Overrides:
renderExample
in classExampleBase
-
updateExample
- Overrides:
updateExample
in classExampleBase
-