|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 java.util.ArrayList<SWTSkinObjectListener> |
listeners
|
protected AEMonitor |
listeners_mon
|
protected SWTBGImagePainter |
painter
|
protected SWTSkinObject |
parent
|
protected SWTSkinProperties |
properties
|
protected java.lang.String |
sConfigID
|
protected java.lang.String |
sID
|
protected SWTSkin |
skin
|
protected java.lang.String[] |
suffixes
|
protected java.lang.String |
type
|
Constructor Summary | |
---|---|
SWTSkinObjectBasic(SWTSkin skin,
SWTSkinProperties properties,
org.eclipse.swt.widgets.Control control,
java.lang.String sID,
java.lang.String sConfigID,
java.lang.String type,
SWTSkinObject parent)
|
|
SWTSkinObjectBasic(SWTSkin skin,
SWTSkinProperties properties,
java.lang.String sID,
java.lang.String sConfigID,
java.lang.String type,
SWTSkinObject parent)
|
Method Summary | |
---|---|
void |
addListener(SWTSkinObjectListener listener)
|
void |
dispose()
|
boolean |
equals(java.lang.Object obj)
|
java.lang.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 |
java.lang.Object |
getData(java.lang.String id)
|
boolean |
getDefaultVisibility()
|
SWTSkinObjectListener[] |
getListeners()
|
SWTSkinObject |
getParent()
|
SWTSkinProperties |
getProperties()
|
SWTSkin |
getSkin()
|
java.lang.String |
getSkinObjectID()
Retrieve the Skin Object ID that represents this object. |
SkinView |
getSkinView()
|
java.lang.String |
getSuffix()
|
java.lang.String |
getTooltipID(boolean walkup)
|
java.lang.String |
getType()
Retrieve the type of widget. |
java.lang.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(java.lang.String sConfigID,
java.lang.String sSuffix)
|
void |
setControl(org.eclipse.swt.widgets.Control _control)
|
void |
setData(java.lang.String id,
java.lang.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(java.lang.String id)
|
protected void |
setViewID(java.lang.String viewID)
|
void |
setVisible(boolean visible)
|
java.lang.String |
switchSuffix(java.lang.String suffix)
Switch the suffix using the default of 1 for level and false for walkUp |
java.lang.String |
switchSuffix(java.lang.String suffix,
int level,
boolean walkUp)
|
java.lang.String |
switchSuffix(java.lang.String newSuffixEntry,
int level,
boolean walkUp,
boolean walkDown)
|
java.lang.String |
toString()
|
void |
triggerListeners(int eventType)
|
void |
triggerListeners(int eventType,
java.lang.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 java.lang.String type
protected java.lang.String sConfigID
protected SWTBGImagePainter painter
protected SWTSkinProperties properties
protected java.lang.String sID
protected SWTSkinObject parent
protected SWTSkin skin
protected java.lang.String[] suffixes
protected java.util.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, java.lang.String sID, java.lang.String sConfigID, java.lang.String type, SWTSkinObject parent)
properties
- TODOpublic SWTSkinObjectBasic(SWTSkin skin, SWTSkinProperties properties, java.lang.String sID, java.lang.String sConfigID, java.lang.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 SWTSkinObject
public java.lang.String getType()
SWTSkinObject
getType
in interface SWTSkinObject
public java.lang.String getConfigID()
SWTSkinObject
getConfigID
in interface SWTSkinObject
public java.lang.String getSkinObjectID()
SWTSkinObject
SWTSkinObject.getConfigID()
, however, may be different if a config
id is used to make independant copies
getSkinObjectID
in interface SWTSkinObject
public SWTSkinObject getParent()
getParent
in interface SWTSkinObject
public void setBackground(java.lang.String sConfigID, java.lang.String sSuffix)
setBackground
in interface SWTSkinObject
public java.lang.String toString()
toString
in class java.lang.Object
public SWTSkin getSkin()
getSkin
in interface SWTSkinObject
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public void setVisible(boolean visible)
setVisible
in interface SWTSkinObject
public void setDefaultVisibility()
setDefaultVisibility
in interface SWTSkinObject
public boolean getDefaultVisibility()
getDefaultVisibility
in interface SWTSkinObject
public boolean isVisible()
isVisible
in interface SWTSkinObject
public java.lang.String switchSuffix(java.lang.String suffix)
1
for level and false
for walkUp
switchSuffix
in interface SWTSkinObject
public final java.lang.String switchSuffix(java.lang.String suffix, int level, boolean walkUp)
switchSuffix
in interface SWTSkinObject
walkUp
- TODO
public java.lang.String switchSuffix(java.lang.String newSuffixEntry, int level, boolean walkUp, boolean walkDown)
switchSuffix
in interface SWTSkinObject
public java.lang.String getSuffix()
getSuffix
in interface SWTSkinObject
public SWTSkinProperties getProperties()
getProperties
in interface SWTSkinObject
public void setProperties(SWTSkinProperties skinProperties)
setProperties
in interface SWTSkinObject
public void addListener(SWTSkinObjectListener listener)
addListener
in interface SWTSkinObject
public void removeListener(SWTSkinObjectListener listener)
removeListener
in interface SWTSkinObject
public SWTSkinObjectListener[] getListeners()
getListeners
in interface SWTSkinObject
public void triggerListeners(int eventType)
triggerListeners
in interface SWTSkinObject
public void triggerListeners(int eventType, java.lang.Object params)
triggerListeners
in interface SWTSkinObject
protected void setViewID(java.lang.String viewID)
public java.lang.String getViewID()
getViewID
in interface SWTSkinObject
public void dispose()
dispose
in interface SWTSkinObject
public boolean isDisposed()
isDisposed
in interface SWTSkinObject
public void setTooltipID(java.lang.String id)
setTooltipID
in interface SWTSkinObject
public java.lang.String getTooltipID(boolean walkup)
getTooltipID
in interface SWTSkinObject
public 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.PaintListener
public boolean isAlwaysHookPaintListener()
public void setAlwaysHookPaintListener(boolean alwaysHookPaintListener)
public java.lang.Object getData(java.lang.String id)
getData
in interface SWTSkinObject
public void setData(java.lang.String id, java.lang.Object data)
setData
in interface SWTSkinObject
public org.eclipse.swt.graphics.Image obfusticatedImage(org.eclipse.swt.graphics.Image image)
obfusticatedImage
in interface ObfusticateImage
public void setObfusticatedImageGenerator(ObfusticateImage obfusticatedImageGenerator)
setObfusticatedImageGenerator
in interface SWTSkinObject
public void setDebug(boolean debug)
setDebug
in interface SWTSkinObject
debug
- the debug to setpublic boolean isDebug()
isDebug
in interface SWTSkinObject
public void relayout()
relayout
in interface SWTSkinObject
public void layoutComplete()
layoutComplete
in interface SWTSkinObject
public SkinView getSkinView()
getSkinView
in interface SWTSkinObject
public void setSkinView(SkinView skinView)
setSkinView
in interface SWTSkinObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |