Methods Summary |
---|
public void | copy(javax.media.Buffer buffer, boolean swap)Copy the attributes from the specified Buffer into this
Buffer
super.copy(buffer, swap);
if (buffer instanceof ExtBuffer) {
ExtBuffer fromBuf = (ExtBuffer) buffer;
if (swap) {
NBA temp = fromBuf.nativeData;
fromBuf.nativeData = nativeData;
nativeData = temp;
boolean prefer = fromBuf.nativePreferred;
fromBuf.nativePreferred = nativePreferred;
nativePreferred = prefer;
} else {
nativeData = fromBuf.nativeData;
nativePreferred = fromBuf.nativePreferred;
}
}
|
public java.lang.Object | getData()
if (nativeData != null)
return nativeData.getData();
else
return data;
|
public com.sun.media.NBA | getNativeData()
return nativeData;
|
public boolean | isNativePreferred()
return nativePreferred;
|
public void | setData(java.lang.Object data)
nativeData = null;
this.data = data;
|
public void | setNativeData(com.sun.media.NBA nativeData)
this.nativeData = nativeData;
|
public void | setNativePreferred(boolean prefer)
nativePreferred = prefer;
|