com.alee.utils.ninepatch
Class NinePatchInterval
java.lang.Object
com.alee.utils.ninepatch.NinePatchInterval
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public final class NinePatchInterval
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Cloneable
User: mgarin Date: 13.12.11 Time: 15:12
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
ID_PREFIX
|
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID_PREFIX
public static final java.lang.String ID_PREFIX
- See Also:
- Constant Field Values
NinePatchInterval
public NinePatchInterval()
NinePatchInterval
public NinePatchInterval(int start)
NinePatchInterval
public NinePatchInterval(int start,
boolean pixel)
NinePatchInterval
public NinePatchInterval(int start,
int end)
NinePatchInterval
public NinePatchInterval(int start,
int end,
boolean pixel)
getId
public java.lang.String getId()
setId
public void setId(java.lang.String id)
setId
public void setId()
isPixel
public boolean isPixel()
setPixel
public void setPixel(boolean pixel)
getStart
public int getStart()
setStart
public void setStart(int start)
getEnd
public int getEnd()
setEnd
public void setEnd(int end)
intersects
public boolean intersects(NinePatchInterval npi)
clone
public NinePatchInterval clone()
- Overrides:
clone
in class java.lang.Object
getLength
public int getLength()
isSame
public boolean isSame(NinePatchInterval ninePatchInterval)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object