MDateSelector

mseries.ui
Interface MPopup

All Known Implementing Classes:
MPopupDialog, MPopupPanel, MPopupWindow

public interface MPopup

The following interface describes what a popup should implement. We do this because Popup Calendar uses popup that can be windows or panels.


Field Summary
static int HEAVY
          Heavyweight popup type (JWindow)
static int LIGHT
          Lightweight popup type (JPanel)
static int MEDIUM
          Mediumweight popup type (Panel) not yet implemented
 
Method Summary
 void addComponent(Component aComponent, Object constraints)
           
 int getWeight()
           
 boolean isShadow()
           
 boolean isVisible()
           
 void pack()
           
 void removeComponent(Component c)
           
 void requestFocus()
           
 void setLocationOnScreen(int x, int y)
           
 void setParent(Component invoker)
           
 void setShadow(boolean hasShadow)
           
 void setVisible(boolean visible)
           
 

Field Detail

LIGHT

static final int LIGHT
Lightweight popup type (JPanel)

See Also:
Constant Field Values

MEDIUM

static final int MEDIUM
Mediumweight popup type (Panel) not yet implemented

See Also:
Constant Field Values

HEAVY

static final int HEAVY
Heavyweight popup type (JWindow)

See Also:
Constant Field Values
Method Detail

addComponent

void addComponent(Component aComponent,
                  Object constraints)

removeComponent

void removeComponent(Component c)

pack

void pack()

setParent

void setParent(Component invoker)

setVisible

void setVisible(boolean visible)

isVisible

boolean isVisible()

setLocationOnScreen

void setLocationOnScreen(int x,
                         int y)

requestFocus

void requestFocus()

getWeight

int getWeight()

setShadow

void setShadow(boolean hasShadow)

isShadow

boolean isShadow()

MDateSelector

Copyright © 2001-2007 M Newstead. All Rights Reserved.