com.incrediblesoft.redjey
Class PopupMenu

java.lang.Object
  extended by com.incrediblesoft.redjey.Component
      extended by com.incrediblesoft.redjey.Container
          extended by com.incrediblesoft.redjey.Window
              extended by com.incrediblesoft.redjey.PopupMenu

public class PopupMenu
extends Window


Field Summary
 
Fields inherited from class com.incrediblesoft.redjey.Component
BOTTOM_LAYOUT, DISABLED, H_EXPAND, HCENTER_LAYOUT, HIGHLIGHTED, LEFT_LAYOUT, NORMAL, PRESSED, RIGHT_LAYOUT, TOP_LAYOUT, TOTAL_STATES, V_EXPAND, VCENTER_LAYOUT
 
Constructor Summary
PopupMenu()
           
 
Method Summary
 void add(MenuItem item)
           
 java.lang.String getName()
          This method is used to retrieve the appropriate style set from a hashtable of styles
 Component getRoot()
           
 void setPopupOrientation(int popupOrientation)
           
 void setVisible(boolean visible)
          Set this component visible or not
 
Methods inherited from class com.incrediblesoft.redjey.Window
addFocusListener, isModal, paint, removeFocusListener, setFullScreen, setModal
 
Methods inherited from class com.incrediblesoft.redjey.Container
add, dispatchEvent, getComponent, getComponentAt, getComponentCount, getLayout, indexOf, insertAt, pack, remove, remove, removeAll, setLayout, tick
 
Methods inherited from class com.incrediblesoft.redjey.Component
addActionListener, addMouseListener, fireActionEvent, getAbsoluteRect, getAbsoluteX, getAbsoluteY, getAlignment, getBounds, getClientSize, getContentAlignment, getCurrentStyle, getHeight, getParent, getPreferredSize, getState, getStyle, getStyleClass, getWidth, getX, getY, invalidate, invalidateTree, isFocused, isHighlightable, isVisible, keyPressed, keyReleased, removeActonListener, removeMouseListener, repaint, repaint, setAlignment, setBounds, setContentAlignment, setLocation, setPreferredSize, setSize, setSize, setState, setStyle, setStyle, setStyleClass, setTag, setX, setY, toString, validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PopupMenu

public PopupMenu()
Method Detail

add

public void add(MenuItem item)

getName

public java.lang.String getName()
Description copied from class: Component
This method is used to retrieve the appropriate style set from a hashtable of styles

Overrides:
getName in class Window
Returns:
Name of component

setVisible

public void setVisible(boolean visible)
Description copied from class: Component
Set this component visible or not

Overrides:
setVisible in class Window
Parameters:
visible - true / false

getRoot

public Component getRoot()

setPopupOrientation

public void setPopupOrientation(int popupOrientation)