Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class uk.co.ist.mwt.IconDlogTemplateLayout

java.lang.Object
  |
  +--uk.co.ist.mwt.MarginLayoutManager
        |
        +--uk.co.ist.mwt.DlogTemplateLayout
              |
              +--uk.co.ist.mwt.IconDlogTemplateLayout

public class IconDlogTemplateLayout
extends DlogTemplateLayout
The IconDlogTemplateLayout class is an AWT layout manager class which knows how to lay out its children in a manner mimicking the Motif Dialog Template as produced by setting the dialogType resource on a XmMessageBox to anything other than XmDIALOG_TEMPLATE or XmDIALOG_MESSAGE. It extends the basic DlogTemplateLayout to handle an 'Icon' component. Menubars, unfortunately, are not handled.


Method Summary
java.awt.Component getIcon()
          Gets the component being used as an icon
void setIcon(java.awt.Component icon)
          Sets the component to use as an icon
 
Methods inherited from class uk.co.ist.mwt.DlogTemplateLayout
addLayoutComponent, getMinimizeButtons, layoutContainer, minimizeButtonsIf, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent
 
Methods inherited from class uk.co.ist.mwt.MarginLayoutManager
addLayoutComponent, getMarginHeight, getMarginWidth, layoutContainer, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent, setMarginHeight, setMarginWidth
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Method Detail

setIcon

public void setIcon(java.awt.Component icon)
Sets the component to use as an icon
Parameters:
icon - the component

getIcon

public java.awt.Component getIcon()
Gets the component being used as an icon

Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD