vemaxs.gui.panel
Class VemaxToolBar

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--javax.swing.JToolBar
                          |
                          +--vemaxs.gui.panel.VemaxToolBar

public class VemaxToolBar
extends JToolBar

*******************************************************

Title: Vemaxs VML Editor


Description:


Copyright: Copyright (c) 2002


Company: 5Freunde(Tanja Bellaire, Carsten Fritz,
Nadja Schemmert, Lothar Schulz, Daniel Thöne)

Author:
$author$
Version: 1.0

Field Summary
 private ActionListeneral
           
 private Vectorbuttons_v
           
 private JButtoncircle
           
 private final ColorGRAU
           
 private JButtonline
           
 private final static Loggerlog
           
 private JButtonrect
           
 private JButtonselect
           
 private final ColorVEMAXHellesOrange
           
 private final ColorWEISS
           

Fields inherited from class javax.swing.JComponent
ui, listenerList, WHEN_FOCUSED, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_IN_FOCUSED_WINDOW, UNDEFINED_CONDITION, TOOL_TIP_TEXT_KEY, accessibleContext

Fields inherited from class java.awt.Component
TOP_ALIGNMENT, CENTER_ALIGNMENT, BOTTOM_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT

Constructor Summary
VemaxToolBar(ActionListener al)
           

Method Summary
 voidaddmyActionListener(ActionListener al)
          *****************************************************
BITTE DOKUMENTIEREN!
 StringgetCurrentJButton(String command)
          *****************************************************
BITTE DOKUMENTIEREN!
 private voidmakeToolButtons(String command, Image icon, Image rollover, Image selected, Image rollover_selected, ActionListener al, String name)
          *****************************************************
BITTE DOKUMENTIEREN!
 voidsetSelected(String btnName, boolean selected)
          *****************************************************
BITTE DOKUMENTIEREN!

Methods inherited from class javax.swing.JToolBar
getUI, setUI, updateUI, getUIClassID, getComponentIndex, getComponentAtIndex, setMargin, getMargin, isBorderPainted, setBorderPainted, paintBorder, isFloatable, setFloatable, getOrientation, setOrientation, addSeparator, addSeparator, add, createActionComponent, createActionChangeListener, addImpl, paramString, getAccessibleContext

Methods inherited from class javax.swing.JComponent
setUI, getComponentGraphics, paintComponent, paintChildren, update, paint, printAll, print, printComponent, printChildren, printBorder, isPaintingTile, isFocusCycleRoot, isManagingFocus, setNextFocusableComponent, getNextFocusableComponent, setRequestFocusEnabled, isRequestFocusEnabled, requestFocus, grabFocus, setVerifyInputWhenFocusTarget, getVerifyInputWhenFocusTarget, setPreferredSize, getPreferredSize, setMaximumSize, getMaximumSize, setMinimumSize, getMinimumSize, isMinimumSizeSet, isPreferredSizeSet, isMaximumSizeSet, contains, setBorder, getBorder, getInsets, getInsets, getAlignmentY, setAlignmentY, getAlignmentX, setAlignmentX, setInputVerifier, getInputVerifier, getGraphics, setDebugGraphicsOptions, getDebugGraphicsOptions, registerKeyboardAction, registerKeyboardAction, unregisterKeyboardAction, getRegisteredKeyStrokes, getConditionForKeyStroke, getActionForKeyStroke, resetKeyboardActions, setInputMap, getInputMap, getInputMap, setActionMap, getActionMap, requestDefaultFocus, setVisible, hide, setEnabled, setForeground, setBackground, setFont, isFocusTraversable, processFocusEvent, processComponentKeyEvent, processKeyEvent, processKeyBinding, setToolTipText, getToolTipText, getToolTipText, getToolTipLocation, createToolTip, scrollRectToVisible, setAutoscrolls, getAutoscrolls, processMouseMotionEvent, enable, disable, getClientProperty, putClientProperty, isLightweightComponent, reshape, getBounds, getSize, getLocation, getX, getY, getWidth, getHeight, hasFocus, isOpaque, setOpaque, computeVisibleRect, getVisibleRect, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener, fireVetoableChange, addVetoableChangeListener, removeVetoableChangeListener, getTopLevelAncestor, addAncestorListener, removeAncestorListener, getListeners, addNotify, removeNotify, repaint, repaint, revalidate, isValidateRoot, isOptimizedDrawingEnabled, paintImmediately, paintImmediately, setDoubleBuffered, isDoubleBuffered, getRootPane

Methods inherited from class java.awt.Container
getComponentCount, countComponents, getComponent, getComponents, insets, add, add, add, add, add, remove, remove, removeAll, getLayout, setLayout, doLayout, layout, invalidate, validate, validateTree, preferredSize, minimumSize, paintComponents, printComponents, addContainerListener, removeContainerListener, processEvent, processContainerEvent, deliverEvent, getComponentAt, locate, getComponentAt, findComponentAt, findComponentAt, isAncestorOf, list, list

Methods inherited from class java.awt.Component
getName, setName, getParent, getPeer, setDropTarget, getDropTarget, getGraphicsConfiguration, getTreeLock, getToolkit, isValid, isDisplayable, isVisible, isShowing, isEnabled, enable, enableInputMethods, show, show, getForeground, getBackground, getFont, getLocale, setLocale, getColorModel, getLocation, getLocationOnScreen, location, setLocation, move, setLocation, getSize, size, setSize, resize, setSize, resize, getBounds, bounds, setBounds, setBounds, isLightweight, getFontMetrics, setCursor, getCursor, paintAll, repaint, repaint, repaint, imageUpdate, createImage, createImage, prepareImage, prepareImage, checkImage, checkImage, inside, contains, dispatchEvent, postEvent, addComponentListener, removeComponentListener, addFocusListener, removeFocusListener, addHierarchyListener, removeHierarchyListener, addHierarchyBoundsListener, removeHierarchyBoundsListener, addKeyListener, removeKeyListener, addMouseListener, removeMouseListener, addMouseMotionListener, removeMouseMotionListener, addInputMethodListener, removeInputMethodListener, getInputMethodRequests, getInputContext, enableEvents, disableEvents, coalesceEvents, processComponentEvent, processMouseEvent, processInputMethodEvent, processHierarchyEvent, processHierarchyBoundsEvent, handleEvent, mouseDown, mouseDrag, mouseUp, mouseMove, mouseEnter, mouseExit, keyDown, keyUp, action, gotFocus, lostFocus, transferFocus, nextFocus, add, remove, toString, list, list, list, setComponentOrientation, getComponentOrientation

Methods inherited from class java.lang.Object
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize

Field Detail

al

private ActionListener al

buttons_v

private Vector buttons_v

circle

private JButton circle

GRAU

private final Color GRAU

line

private JButton line

log

private final static Logger log

rect

private JButton rect

select

private JButton select

VEMAXHellesOrange

private final Color VEMAXHellesOrange

WEISS

private final Color WEISS
Constructor Detail

VemaxToolBar

public VemaxToolBar(ActionListener al)
Method Detail

addmyActionListener

public void addmyActionListener(ActionListener al)
*****************************************************
BITTE DOKUMENTIEREN!
Parameters:
al BITTE DOKUMENTIEREN!

getCurrentJButton

public String getCurrentJButton(String command)
*****************************************************
BITTE DOKUMENTIEREN!
Parameters:
command BITTE DOKUMENTIEREN!
Returns: BITTE DOKUMENTIEREN!

makeToolButtons

private void makeToolButtons(String command, Image icon, Image rollover, Image selected, Image rollover_selected, ActionListener al, String name)
*****************************************************
BITTE DOKUMENTIEREN!
Parameters:
command BITTE DOKUMENTIEREN!
icon BITTE DOKUMENTIEREN!
rollover BITTE DOKUMENTIEREN!
selected BITTE DOKUMENTIEREN!
rollover_selected BITTE DOKUMENTIEREN!
al BITTE DOKUMENTIEREN!
name BITTE DOKUMENTIEREN!

setSelected

public void setSelected(String btnName, boolean selected)
*****************************************************
BITTE DOKUMENTIEREN!
Parameters:
btnName BITTE DOKUMENTIEREN!
selected BITTE DOKUMENTIEREN!

Association Links

to Class java.awt.event.ActionListener

to Class java.awt.Color

to Class java.awt.Color

to Class java.awt.Color

to Class javax.swing.JButton

to Class javax.swing.JButton

to Class javax.swing.JButton

to Class javax.swing.JButton

to Class java.util.Vector