com.alee.utils.ninepatch
Class NinePatchInterval

java.lang.Object
  extended by 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
           
 
Constructor Summary
NinePatchInterval()
           
NinePatchInterval(int start)
           
NinePatchInterval(int start, boolean pixel)
           
NinePatchInterval(int start, int end)
           
NinePatchInterval(int start, int end, boolean pixel)
           
 
Method Summary
 NinePatchInterval clone()
           
 boolean equals(java.lang.Object obj)
           
 int getEnd()
           
 java.lang.String getId()
           
 int getLength()
           
 int getStart()
           
 boolean intersects(NinePatchInterval npi)
           
 boolean isPixel()
           
 boolean isSame(NinePatchInterval ninePatchInterval)
           
 void setEnd(int end)
           
 void setId()
           
 void setId(java.lang.String id)
           
 void setPixel(boolean pixel)
           
 void setStart(int start)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID_PREFIX

public static final java.lang.String ID_PREFIX
See Also:
Constant Field Values
Constructor Detail

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)
Method Detail

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