Package org.teamapps.icons.composite
Class CompositeIcon
- java.lang.Object
-
- org.teamapps.icons.composite.CompositeIcon
-
- All Implemented Interfaces:
Icon<CompositeIcon,java.lang.Void>
public class CompositeIcon extends java.lang.Object implements Icon<CompositeIcon,java.lang.Void>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IcongetBaseIcon()IcongetBottomLeftIcon()IcongetBottomRightIcon()java.lang.VoidgetStyle()IcongetTopLeftIcon()IcongetTopRightIcon()static CompositeIconof(Icon baseIcon, Icon bottomRightIcon)static CompositeIconof(Icon baseIcon, Icon bottomRightIcon, Icon bottomLeftIcon, Icon topLeftIcon, Icon topRightIcon)CompositeIconwithStyle(java.lang.Void unused)Creates a copy of this icon with the specified style.
-
-
-
Method Detail
-
of
public static CompositeIcon of(Icon baseIcon, Icon bottomRightIcon)
-
of
public static CompositeIcon of(Icon baseIcon, Icon bottomRightIcon, Icon bottomLeftIcon, Icon topLeftIcon, Icon topRightIcon)
-
getBaseIcon
public Icon getBaseIcon()
-
getBottomRightIcon
public Icon getBottomRightIcon()
-
getBottomLeftIcon
public Icon getBottomLeftIcon()
-
getTopLeftIcon
public Icon getTopLeftIcon()
-
getTopRightIcon
public Icon getTopRightIcon()
-
withStyle
public CompositeIcon withStyle(java.lang.Void unused)
Description copied from interface:IconCreates a copy of this icon with the specified style. The style may be null!- Specified by:
withStylein interfaceIcon<CompositeIcon,java.lang.Void>- Parameters:
unused- The style to apply. May be null!- Returns:
- A copy of this icon with the specified style.
-
getStyle
public java.lang.Void getStyle()
- Specified by:
getStylein interfaceIcon<CompositeIcon,java.lang.Void>- Returns:
- The style of this icon. May be null!
-
-