Place IColorCoded interface in ColorCode.class
This commit is contained in:
parent
c3158aeb74
commit
bd3b4e58b2
2 changed files with 10 additions and 11 deletions
|
@ -32,7 +32,7 @@ public enum ColorCode
|
|||
}
|
||||
|
||||
/** gets a ColorCode from any of the following
|
||||
*
|
||||
*
|
||||
* @param obj - Integer,String,LiquidData,ColorCode
|
||||
* @return Color NONE if it can't find it */
|
||||
public static ColorCode get(Object obj)
|
||||
|
@ -58,4 +58,13 @@ public enum ColorCode
|
|||
return NONE;
|
||||
}
|
||||
|
||||
public static interface IColorCoded
|
||||
{
|
||||
/** Returns the ColorCode of the object */
|
||||
public ColorCode getColor();
|
||||
|
||||
/** Sets the ColorCode of the Object */
|
||||
public void setColor(Object obj);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
package dark.interfaces;
|
||||
|
||||
public interface IColorCoded
|
||||
{
|
||||
/** Returns the ColorCode of the object */
|
||||
public ColorCode getColor();
|
||||
|
||||
/** Sets the ColorCode of the Object */
|
||||
public void setColor(Object obj);
|
||||
}
|
Loading…
Reference in a new issue