|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Panel | +--iicm.vrml.vrwave.NavigationBar
NavigationBar - The navigation bar for VRwave. Copyright (c) 1996-1998 IICM
Field Summary | |
static int |
MOVE
|
static int |
OBJECT
|
static int |
ROTATE
|
static int |
TRANSLATE
|
static int |
ZOOM
|
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
Constructor Summary | |
NavigationBar(java.util.Vector icons_vect,
SceneCanvas canvas,
Scene scene)
Constructs the navigation bar. |
Method Summary | |
java.awt.Image |
getCursor(int mode)
Returns a cursor-image (or a sensor-image) for each navigation mode |
java.awt.Insets |
getInsets()
new insets for this panel |
void |
loadCursor(java.util.Vector h_icons)
|
void |
mousePressed(java.awt.event.MouseEvent evt)
handler for the ´mouse pressed´ events. |
void |
paint(java.awt.Graphics gc)
paint. add outset frame |
void |
setCurrentButtonsVisible(int mode,
boolean flag)
Sets the visibility of the buttons, which are dependant from a selected ocject. (used by cursor and menu interaction) |
void |
setHelpText()
Sets the help text for the buttons |
void |
setNextViewText(java.lang.String text)
|
void |
setPrevViewText(java.lang.String text)
|
void |
setStatusText(java.lang.String text)
|
void |
toggleNextViewState(boolean activ)
|
void |
togglePrevViewState(boolean activ)
|
Methods inherited from class java.awt.Panel |
addNotify |
Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
addImpl,
countComponents,
deliverEvent,
doLayout,
findComponentAt,
findComponentAt,
getAlignmentX,
getAlignmentY,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getLayout,
getMaximumSize,
getMinimumSize,
getPreferredSize,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paintComponents,
paramString,
preferredSize,
print,
printComponents,
processContainerEvent,
processEvent,
remove,
remove,
removeAll,
removeContainerListener,
removeNotify,
setCursor,
setFont,
setLayout,
update,
validate,
validateTree |
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
addPropertyChangeListener,
addPropertyChangeListener,
bounds,
checkImage,
checkImage,
coalesceEvents,
contains,
contains,
createImage,
createImage,
disable,
disableEvents,
dispatchEvent,
enable,
enable,
enableEvents,
enableInputMethods,
firePropertyChange,
getBackground,
getBounds,
getBounds,
getColorModel,
getComponentOrientation,
getCursor,
getDropTarget,
getFont,
getFontMetrics,
getForeground,
getGraphics,
getHeight,
getInputContext,
getInputMethodRequests,
getLocale,
getLocation,
getLocation,
getLocationOnScreen,
getName,
getParent,
getPeer,
getSize,
getSize,
getToolkit,
getTreeLock,
getWidth,
getX,
getY,
gotFocus,
handleEvent,
hasFocus,
hide,
imageUpdate,
inside,
isDisplayable,
isDoubleBuffered,
isEnabled,
isFocusTraversable,
isLightweight,
isOpaque,
isShowing,
isValid,
isVisible,
keyDown,
keyUp,
list,
list,
list,
location,
lostFocus,
mouseDown,
mouseDrag,
mouseEnter,
mouseExit,
mouseMove,
mouseUp,
move,
nextFocus,
paintAll,
postEvent,
prepareImage,
prepareImage,
printAll,
processComponentEvent,
processFocusEvent,
processInputMethodEvent,
processKeyEvent,
processMouseEvent,
processMouseMotionEvent,
remove,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
removePropertyChangeListener,
removePropertyChangeListener,
repaint,
repaint,
repaint,
repaint,
requestFocus,
reshape,
resize,
resize,
setBackground,
setBounds,
setBounds,
setComponentOrientation,
setDropTarget,
setEnabled,
setForeground,
setLocale,
setLocation,
setLocation,
setName,
setSize,
setSize,
setVisible,
show,
show,
size,
toString,
transferFocus |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final int OBJECT
public static final int MOVE
public static final int ZOOM
public static final int ROTATE
public static final int TRANSLATE
Constructor Detail |
public NavigationBar(java.util.Vector icons_vect, SceneCanvas canvas, Scene scene)
icons_vect
- A vector of images for the icons of the toolbar.canvas
- The 3D canvas of VRwave.scene
- The ´scene´ of VRwave.Method Detail |
public void loadCursor(java.util.Vector h_icons)
public java.awt.Image getCursor(int mode)
public void setHelpText()
public void setCurrentButtonsVisible(int mode, boolean flag)
flag
- true - if the buttons should be visible (i.e. a object is selected), false otherwise.public void setStatusText(java.lang.String text)
public void toggleNextViewState(boolean activ)
public void togglePrevViewState(boolean activ)
public void setPrevViewText(java.lang.String text)
public void setNextViewText(java.lang.String text)
public java.awt.Insets getInsets()
public void paint(java.awt.Graphics gc)
public void mousePressed(java.awt.event.MouseEvent evt)
evt
- The mouse event.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |