| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.aelitis.azureus.ui.swt.skin.SWTSkinObjectBasic
public class SWTSkinObjectBasic
| Field Summary | |
|---|---|
protected  org.eclipse.swt.graphics.Color | 
bgColor
 | 
protected static int | 
BORDER_GRADIENT
 | 
protected static int | 
BORDER_ROUNDED
 | 
protected static int | 
BORDER_ROUNDED_FILL
 | 
protected  org.eclipse.swt.widgets.Control | 
control
 | 
protected  boolean | 
customTooltipID
 | 
protected  boolean | 
debug
 | 
protected  ArrayList<SWTSkinObjectListener> | 
listeners
 | 
protected  AEMonitor | 
listeners_mon
 | 
protected  SWTBGImagePainter | 
painter
 | 
protected  SWTSkinObject | 
parent
 | 
protected  SWTSkinProperties | 
properties
 | 
protected  String | 
sConfigID
 | 
protected  String | 
sID
 | 
protected  SWTSkin | 
skin
 | 
protected  String[] | 
suffixes
 | 
protected  String | 
type
 | 
| Constructor Summary | |
|---|---|
SWTSkinObjectBasic(SWTSkin skin,
                   SWTSkinProperties properties,
                   org.eclipse.swt.widgets.Control control,
                   String sID,
                   String sConfigID,
                   String type,
                   SWTSkinObject parent)
 | 
|
SWTSkinObjectBasic(SWTSkin skin,
                   SWTSkinProperties properties,
                   String sID,
                   String sConfigID,
                   String type,
                   SWTSkinObject parent)
 | 
|
| Method Summary | |
|---|---|
 void | 
addListener(SWTSkinObjectListener listener)
 | 
 void | 
dispose()
 | 
 boolean | 
equals(Object obj)
 | 
 String | 
getConfigID()
Retrieve the Config ID which is ID in the skin config file.  | 
 org.eclipse.swt.widgets.Control | 
getControl()
Retrieve the associated SWT Control used by the skin object  | 
 Object | 
getData(String id)
 | 
 boolean | 
getDefaultVisibility()
 | 
 SWTSkinObjectListener[] | 
getListeners()
 | 
 SWTSkinObject | 
getParent()
 | 
 SWTSkinProperties | 
getProperties()
 | 
 SWTSkin | 
getSkin()
 | 
 String | 
getSkinObjectID()
Retrieve the Skin Object ID that represents this object.  | 
 SkinView | 
getSkinView()
 | 
 String | 
getSuffix()
 | 
 String | 
getTooltipID(boolean walkup)
 | 
 String | 
getType()
Retrieve the type of widget.  | 
 String | 
getViewID()
 | 
 int | 
hashCode()
 | 
 boolean | 
isAlwaysHookPaintListener()
 | 
 boolean | 
isDebug()
 | 
 boolean | 
isDisposed()
 | 
 boolean | 
isVisible()
 | 
 void | 
layoutComplete()
 | 
 org.eclipse.swt.graphics.Image | 
obfusticatedImage(org.eclipse.swt.graphics.Image image)
 | 
 void | 
paintControl(org.eclipse.swt.graphics.GC gc)
 | 
 void | 
paintControl(org.eclipse.swt.events.PaintEvent e)
 | 
 void | 
relayout()
 | 
 void | 
removeListener(SWTSkinObjectListener listener)
 | 
 void | 
setAlwaysHookPaintListener(boolean alwaysHookPaintListener)
 | 
 void | 
setBackground(String sConfigID,
              String sSuffix)
 | 
 void | 
setControl(org.eclipse.swt.widgets.Control _control)
 | 
 void | 
setData(String id,
        Object data)
 | 
 void | 
setDebug(boolean debug)
 | 
 void | 
setDefaultVisibility()
 | 
protected  boolean | 
setIsVisible(boolean visible,
             boolean walkup)
 | 
 void | 
setObfusticatedImageGenerator(ObfusticateImage obfusticatedImageGenerator)
 | 
 void | 
setProperties(SWTSkinProperties skinProperties)
 | 
 void | 
setSkinView(SkinView skinView)
 | 
 void | 
setTooltipID(String id)
 | 
protected  void | 
setViewID(String viewID)
 | 
 void | 
setVisible(boolean visible)
 | 
 String | 
switchSuffix(String suffix)
Switch the suffix using the default of 1 for level and false for walkUp | 
 String | 
switchSuffix(String suffix,
             int level,
             boolean walkUp)
 | 
 String | 
switchSuffix(String newSuffixEntry,
             int level,
             boolean walkUp,
             boolean walkDown)
 | 
 String | 
toString()
 | 
 void | 
triggerListeners(int eventType)
 | 
 void | 
triggerListeners(int eventType,
                 Object params)
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
protected static final int BORDER_ROUNDED
protected static final int BORDER_ROUNDED_FILL
protected static final int BORDER_GRADIENT
protected org.eclipse.swt.widgets.Control control
protected String type
protected String sConfigID
protected SWTBGImagePainter painter
protected SWTSkinProperties properties
protected String sID
protected SWTSkinObject parent
protected SWTSkin skin
protected String[] suffixes
protected ArrayList<SWTSkinObjectListener> listeners
protected AEMonitor listeners_mon
protected org.eclipse.swt.graphics.Color bgColor
protected boolean debug
protected boolean customTooltipID
| Constructor Detail | 
|---|
public SWTSkinObjectBasic(SWTSkin skin,
                          SWTSkinProperties properties,
                          org.eclipse.swt.widgets.Control control,
                          String sID,
                          String sConfigID,
                          String type,
                          SWTSkinObject parent)
properties - TODO
public SWTSkinObjectBasic(SWTSkin skin,
                          SWTSkinProperties properties,
                          String sID,
                          String sConfigID,
                          String type,
                          SWTSkinObject parent)
| Method Detail | 
|---|
public void setControl(org.eclipse.swt.widgets.Control _control)
protected boolean setIsVisible(boolean visible,
                               boolean walkup)
visible - public org.eclipse.swt.widgets.Control getControl()
SWTSkinObject
getControl in interface SWTSkinObjectpublic String getType()
SWTSkinObject
getType in interface SWTSkinObjectpublic String getConfigID()
SWTSkinObject
getConfigID in interface SWTSkinObjectpublic String getSkinObjectID()
SWTSkinObjectSWTSkinObject.getConfigID(), however, may be different if a config
 id is used to make independant copies
getSkinObjectID in interface SWTSkinObjectpublic SWTSkinObject getParent()
getParent in interface SWTSkinObject
public void setBackground(String sConfigID,
                          String sSuffix)
setBackground in interface SWTSkinObjectpublic String toString()
toString in class Objectpublic SWTSkin getSkin()
getSkin in interface SWTSkinObjectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic void setVisible(boolean visible)
setVisible in interface SWTSkinObjectpublic void setDefaultVisibility()
setDefaultVisibility in interface SWTSkinObjectpublic boolean getDefaultVisibility()
getDefaultVisibility in interface SWTSkinObjectpublic boolean isVisible()
isVisible in interface SWTSkinObjectpublic String switchSuffix(String suffix)
1 for level and false for walkUp
switchSuffix in interface SWTSkinObject
public final String switchSuffix(String suffix,
                                 int level,
                                 boolean walkUp)
switchSuffix in interface SWTSkinObjectwalkUp - TODO
public String switchSuffix(String newSuffixEntry,
                           int level,
                           boolean walkUp,
                           boolean walkDown)
switchSuffix in interface SWTSkinObjectpublic String getSuffix()
getSuffix in interface SWTSkinObjectpublic SWTSkinProperties getProperties()
getProperties in interface SWTSkinObjectpublic void setProperties(SWTSkinProperties skinProperties)
setProperties in interface SWTSkinObjectpublic void addListener(SWTSkinObjectListener listener)
addListener in interface SWTSkinObjectpublic void removeListener(SWTSkinObjectListener listener)
removeListener in interface SWTSkinObjectpublic SWTSkinObjectListener[] getListeners()
getListeners in interface SWTSkinObjectpublic void triggerListeners(int eventType)
triggerListeners in interface SWTSkinObject
public void triggerListeners(int eventType,
                             Object params)
triggerListeners in interface SWTSkinObjectprotected void setViewID(String viewID)
public String getViewID()
getViewID in interface SWTSkinObjectpublic void dispose()
dispose in interface SWTSkinObjectpublic boolean isDisposed()
isDisposed in interface SWTSkinObjectpublic void setTooltipID(String id)
setTooltipID in interface SWTSkinObjectpublic String getTooltipID(boolean walkup)
getTooltipID in interface SWTSkinObjectpublic void paintControl(org.eclipse.swt.graphics.GC gc)
public final void paintControl(org.eclipse.swt.events.PaintEvent e)
paintControl in interface org.eclipse.swt.events.PaintListenerpublic boolean isAlwaysHookPaintListener()
public void setAlwaysHookPaintListener(boolean alwaysHookPaintListener)
public Object getData(String id)
getData in interface SWTSkinObject
public void setData(String id,
                    Object data)
setData in interface SWTSkinObjectpublic org.eclipse.swt.graphics.Image obfusticatedImage(org.eclipse.swt.graphics.Image image)
obfusticatedImage in interface ObfusticateImagepublic void setObfusticatedImageGenerator(ObfusticateImage obfusticatedImageGenerator)
setObfusticatedImageGenerator in interface SWTSkinObjectpublic void setDebug(boolean debug)
setDebug in interface SWTSkinObjectdebug - the debug to setpublic boolean isDebug()
isDebug in interface SWTSkinObjectpublic void relayout()
relayout in interface SWTSkinObjectpublic void layoutComplete()
layoutComplete in interface SWTSkinObjectpublic SkinView getSkinView()
getSkinView in interface SWTSkinObjectpublic void setSkinView(SkinView skinView)
setSkinView in interface SWTSkinObject
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||