com.aelitis.azureus.ui.swt.views.skin
Class SkinnedDialog

java.lang.Object
  extended by com.aelitis.azureus.ui.swt.views.skin.SkinnedDialog

public class SkinnedDialog
extends Object

Creates a dialog (shell) and fills it with a skinned layout

Author:
TuxPaper

Nested Class Summary
static interface SkinnedDialog.SkinnedDialogClosedListener
           
 
Field Summary
protected  boolean disposed
           
 
Constructor Summary
SkinnedDialog(ClassLoader cla, String skinPath, String skinFile, String shellSkinObjectID, int style)
           
SkinnedDialog(ClassLoader cla, String skinPath, String skinFile, String shellSkinObjectID, org.eclipse.swt.widgets.Shell parent, int style)
           
SkinnedDialog(String skinFile, String shellSkinObjectID)
           
SkinnedDialog(String skinFile, String shellSkinObjectID, int style)
           
SkinnedDialog(String skinFile, String shellSkinObjectID, org.eclipse.swt.widgets.Shell parent, int style)
           
 
Method Summary
 void addCloseListener(SkinnedDialog.SkinnedDialogClosedListener l)
           
 void close()
           
 org.eclipse.swt.widgets.Shell getShell()
           
 SWTSkin getSkin()
           
 boolean isDisposed()
           
 void open()
           
 void open(String idShellMetrics, boolean bringToFront)
           
protected  void setSkin(SWTSkin _skin)
           
 void setTitle(String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

disposed

protected boolean disposed
Constructor Detail

SkinnedDialog

public SkinnedDialog(String skinFile,
                     String shellSkinObjectID)

SkinnedDialog

public SkinnedDialog(String skinFile,
                     String shellSkinObjectID,
                     int style)

SkinnedDialog

public SkinnedDialog(String skinFile,
                     String shellSkinObjectID,
                     org.eclipse.swt.widgets.Shell parent,
                     int style)

SkinnedDialog

public SkinnedDialog(ClassLoader cla,
                     String skinPath,
                     String skinFile,
                     String shellSkinObjectID,
                     int style)

SkinnedDialog

public SkinnedDialog(ClassLoader cla,
                     String skinPath,
                     String skinFile,
                     String shellSkinObjectID,
                     org.eclipse.swt.widgets.Shell parent,
                     int style)
Method Detail

setSkin

protected void setSkin(SWTSkin _skin)

open

public void open()

open

public void open(String idShellMetrics,
                 boolean bringToFront)

getSkin

public SWTSkin getSkin()

close

public void close()
Since:
4.0.0.5

addCloseListener

public void addCloseListener(SkinnedDialog.SkinnedDialogClosedListener l)

setTitle

public void setTitle(String string)
Parameters:
string -
Since:
4.0.0.5

getShell

public org.eclipse.swt.widgets.Shell getShell()
Returns:
the shell

isDisposed

public boolean isDisposed()