public abstract class TextureMapProps extends java.lang.Object implements CompositeProperty, Scannable, Clonable
| Modifier and Type | Class and Description |
|---|---|
static class |
TextureMapProps.TextureFilter |
static class |
TextureMapProps.TextureWrapping |
| Modifier and Type | Field and Description |
|---|---|
static PropertyList |
myProps |
| Constructor and Description |
|---|
TextureMapProps() |
TextureMapProps(TextureMapProps props) |
| Modifier and Type | Method and Description |
|---|---|
TextureMapProps |
clone()
Returns a clone of this composite property.
|
void |
dispose() |
boolean |
equals(java.lang.Object obj) |
boolean |
equals(TextureMapProps props) |
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
java.awt.Color |
getBorderColor() |
PropertyMode |
getBorderColorMode() |
TextureContent |
getContent()
Grab a copy of the content (raw or file)
|
PropertyMode |
getEnabledMode() |
java.lang.String |
getFileName() |
PropertyMode |
getFileNameMode() |
TextureMapProps.TextureFilter |
getMagFilter() |
PropertyMode |
getMagFilterMode() |
TextureMapProps.TextureFilter |
getMinFilter() |
PropertyMode |
getMinFilterMode() |
Property |
getProperty(java.lang.String name)
Returns a property associated with a specified path name.
|
HasProperties |
getPropertyHost()
Returns the host for this property
|
PropertyInfo |
getPropertyInfo()
If this object is a property, returns the corresponding information
|
TextureMapProps.TextureWrapping |
getSWrapping() |
PropertyMode |
getSWrappingMode() |
TextureMapProps.TextureWrapping |
getTWrapping() |
PropertyMode |
getTWrappingMode() |
boolean |
isEnabled() |
boolean |
isWritable()
Returns
true if this component should in fact be written to
secondary storage. |
void |
scan(ReaderTokenizer rtok,
java.lang.Object ref)
Scans this element from a ReaderTokenizer.
|
void |
set(TextureMapProps props) |
void |
setBorderColor(java.awt.Color c) |
void |
setBorderColorMode(PropertyMode mode) |
void |
setContent(TextureContent content) |
void |
setEnabled(boolean enabled) |
void |
setEnabledMode(PropertyMode mode) |
void |
setFileName(java.lang.String name) |
void |
setFileNameMode(PropertyMode mode) |
void |
setMagFilter(TextureMapProps.TextureFilter filter) |
void |
setMagFilterMode(PropertyMode mode) |
void |
setMinFilter(TextureMapProps.TextureFilter filter) |
void |
setMinFilterMode(PropertyMode mode) |
void |
setPropertyHost(HasProperties host)
Sets the host for this property.
|
void |
setPropertyInfo(PropertyInfo info)
Sets the property information for this property.
|
void |
setSWrapping(TextureMapProps.TextureWrapping wrapping) |
void |
setSWrappingMode(PropertyMode mode) |
void |
setTWrapping(TextureMapProps.TextureWrapping wrapping) |
void |
setTWrappingMode(PropertyMode mode) |
boolean |
textureFileExists() |
java.lang.String |
toString() |
void |
write(java.io.PrintWriter pw,
NumberFormat fmt,
java.lang.Object ref)
Writes a text description of this element to a PrintWriter.
|
public static PropertyList myProps
public TextureMapProps()
public TextureMapProps(TextureMapProps props)
public HasProperties getPropertyHost()
getPropertyHost in interface CompositePropertypublic PropertyInfo getPropertyInfo()
getPropertyInfo in interface CompositePropertypublic void setPropertyHost(HasProperties host)
setPropertyHost in interface CompositePropertyhost - host for this propertypublic void setPropertyInfo(PropertyInfo info)
setPropertyInfo in interface CompositePropertyinfo - property informationpublic Property getProperty(java.lang.String name)
HasProperties.' characters. A sub-property
exists if the value of a property is itself an object which exports
properties. It is only possible to obtain a sub-property handle if each of
its ancestor properties exports their values by reference.getProperty in interface HasPropertiesname - name of the desired property or sub-propertypublic PropertyList getAllPropertyInfo()
HasPropertiesgetAllPropertyInfo in interface HasPropertiespublic boolean isEnabled()
public void setEnabled(boolean enabled)
public PropertyMode getEnabledMode()
public void setEnabledMode(PropertyMode mode)
public void setContent(TextureContent content)
public TextureContent getContent()
public java.lang.String getFileName()
public void setFileName(java.lang.String name)
public boolean textureFileExists()
public PropertyMode getFileNameMode()
public void setFileNameMode(PropertyMode mode)
public TextureMapProps.TextureWrapping getSWrapping()
public void setSWrapping(TextureMapProps.TextureWrapping wrapping)
public PropertyMode getSWrappingMode()
public void setSWrappingMode(PropertyMode mode)
public TextureMapProps.TextureWrapping getTWrapping()
public void setTWrapping(TextureMapProps.TextureWrapping wrapping)
public PropertyMode getTWrappingMode()
public void setTWrappingMode(PropertyMode mode)
public TextureMapProps.TextureFilter getMinFilter()
public void setMinFilter(TextureMapProps.TextureFilter filter)
public PropertyMode getMinFilterMode()
public void setMinFilterMode(PropertyMode mode)
public TextureMapProps.TextureFilter getMagFilter()
public void setMagFilter(TextureMapProps.TextureFilter filter)
public PropertyMode getMagFilterMode()
public void setMagFilterMode(PropertyMode mode)
public java.awt.Color getBorderColor()
public void setBorderColor(java.awt.Color c)
public PropertyMode getBorderColorMode()
public void setBorderColorMode(PropertyMode mode)
public void set(TextureMapProps props)
public boolean equals(TextureMapProps props)
public void dispose()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic boolean isWritable()
true if this component should in fact be written to
secondary storage. This gives subclasses control over whether or
not they are actually written out.isWritable in interface Scannabletrue if this component should be written to
secondary storage.public void write(java.io.PrintWriter pw,
NumberFormat fmt,
java.lang.Object ref)
throws java.io.IOException
Scannablescan and complete
enough to allow full reconstruction of the element.public void scan(ReaderTokenizer rtok, java.lang.Object ref) throws java.io.IOException
Scannablewrite.public java.lang.String toString()
toString in class java.lang.Objectpublic TextureMapProps clone()
CompositePropertyclone in interface CompositePropertyclone in interface Clonableclone in class java.lang.Object