|
|||||||||
| Home >> All >> com >> paradoxpoint >> libitina >> [ monument overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.paradoxpoint.libitina.monument
Class TransformableImageItem

java.lang.Objectcom.paradoxpoint.libitina.monument.AbstractItem
com.paradoxpoint.libitina.monument.ImageItem
com.paradoxpoint.libitina.monument.TransformableImageItem
- All Implemented Interfaces:
- Item, Positionable, PositionBias, Rotatable, java.io.Serializable, Sizable, Transformable
- public class TransformableImageItem
- extends ImageItem
- implements Transformable
- extends ImageItem
Item capable of storing information for an image including size, position and
rotation. (NOTE: this is a property archive class and methods do not
affect the visual images that the items represent in anyway.)
| Field Summary | |
private int |
height
Holds value of property height. |
private boolean |
mirrored
|
private double |
rotation
Holds value of property rotation. |
(package private) int |
sourceHeight
|
(package private) int |
sourceWidth
Dimensions of image before sizing |
private int |
width
Holds value of property width. |
private int |
x
Holds value of property x. |
private int |
y
Holds value of property y. |
| Fields inherited from class com.paradoxpoint.libitina.monument.ImageItem |
|
| Fields inherited from class com.paradoxpoint.libitina.monument.AbstractItem |
bias, editable, name, positionBias, propertySupport, visible |
| Constructor Summary | |
TransformableImageItem(java.lang.String name,
java.net.URL src)
Creates a new instance of ImageItem |
|
TransformableImageItem(java.lang.String name,
java.net.URL src,
int preferredPosition)
|
|
| Method Summary | |
int |
getHeight()
Getter for property height. |
double |
getRotation()
Getter for property rotation. |
int |
getWidth()
Getter for property width. |
int |
getX()
Getter for property x. |
int |
getY()
Getter for property y. |
boolean |
isMirrored()
|
void |
setHeight(int height)
Setter for property height. |
void |
setMirrored(boolean b)
|
void |
setRotation(double rotation)
Setter for property rotation. |
void |
setWidth(int width)
Setter for property width. |
void |
setX(int x)
Setter for property x. |
void |
setY(int y)
Setter for property y. |
private void |
sizeToImage()
|
| Methods inherited from class com.paradoxpoint.libitina.monument.ImageItem |
getSource |
| Methods inherited from class com.paradoxpoint.libitina.monument.AbstractItem |
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getName, getPositionBias, getPropertyChangeListeners, getPropertyChangeListeners, hasBias, hasListeners, isEditable, isVisible, removePropertyChangeListener, removePropertyChangeListener, setEditable, setVisible, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
x
private int x
- Holds value of property x.
y
private int y
- Holds value of property y.
width
private int width
- Holds value of property width.
height
private int height
- Holds value of property height.
rotation
private double rotation
- Holds value of property rotation.
sourceWidth
int sourceWidth
- Dimensions of image before sizing
sourceHeight
int sourceHeight
mirrored
private boolean mirrored
| Constructor Detail |
TransformableImageItem
public TransformableImageItem(java.lang.String name, java.net.URL src)
- Creates a new instance of ImageItem
TransformableImageItem
public TransformableImageItem(java.lang.String name, java.net.URL src, int preferredPosition)
| Method Detail |
sizeToImage
private void sizeToImage()
getX
public int getX()
- Getter for property x.
- Specified by:
getXin interfacePositionable
setX
public void setX(int x)
- Setter for property x.
- Specified by:
setXin interfacePositionable
getY
public int getY()
- Getter for property y.
- Specified by:
getYin interfacePositionable
setY
public void setY(int y)
- Setter for property y.
- Specified by:
setYin interfacePositionable
getWidth
public int getWidth()
setWidth
public void setWidth(int width)
getHeight
public int getHeight()
setHeight
public void setHeight(int height)
getRotation
public double getRotation()
- Getter for property rotation.
- Specified by:
getRotationin interfaceRotatable
setRotation
public void setRotation(double rotation)
- Setter for property rotation.
- Specified by:
setRotationin interfaceRotatable
isMirrored
public boolean isMirrored()
- Specified by:
isMirroredin interfaceTransformable
setMirrored
public void setMirrored(boolean b)
- Specified by:
setMirroredin interfaceTransformable
|
|||||||||
| Home >> All >> com >> paradoxpoint >> libitina >> [ monument overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC