|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.swt.ole.win32.VariantWrapper
public class VariantWrapper
As its name implies the Variant Wrapper class wraps a SWT Variant class. Its sole purpose is to allows access to the package level setData and getData methods. This class is a MAJOR hack however due to limitations in SWT it is required. It does not work in an eclipe plugin since OSDI will trap any attempts to do this sort of security breach. SWT version 3.3 will fix this problem and remove the need for this HACK!
| Constructor Summary | |
|---|---|
VariantWrapper()
Constructs a new VariantWrapper that will create a new Variant. |
|
VariantWrapper(org.eclipse.swt.ole.win32.Variant variant)
Constructs a new VariantWrapper that wrap the specified Variant. |
|
| Method Summary | |
|---|---|
void |
getData(int pData)
Gets the data of the wrapped variant and moves it to the specified address. |
org.eclipse.swt.ole.win32.Variant |
getVariant()
Returns the wrapped variant. |
void |
setData(int pData)
Sets the data of the wrapped variant to the data contained at the specified address. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VariantWrapper()
public VariantWrapper(org.eclipse.swt.ole.win32.Variant variant)
variant - the variant to wrap.| Method Detail |
|---|
public void setData(int pData)
pData - the address that contains data to set into the wrapped variant.public void getData(int pData)
pData - the address in to which the data of the wrapped
variant should be placed.public org.eclipse.swt.ole.win32.Variant getVariant()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||