public class OpenRGBMode extends Object
| Constructor and Description |
|---|
OpenRGBMode()
Default empty constructor
|
OpenRGBMode(String name,
int value,
int flags,
int speedMin,
int speedMax,
int colorMin,
int colorMax,
int speed,
ModeDirection direction,
ColorMode colorMode,
List<OpenRGBColor> colors)
Returns an instance of an OpenRGBMode
|
| Modifier and Type | Method and Description |
|---|---|
int |
getColorMax() |
int |
getColorMin() |
ColorMode |
getColorMode() |
List<OpenRGBColor> |
getColors() |
ModeDirection |
getDirection() |
int |
getFlags() |
String |
getName() |
int |
getSpeed() |
int |
getSpeedMax() |
int |
getSpeedMin() |
int |
getValue() |
void |
setColorMax(int colorMax) |
void |
setColorMin(int colorMin) |
void |
setColorMode(ColorMode colorMode) |
void |
setColors(List<OpenRGBColor> openRGBColors) |
void |
setDirection(ModeDirection direction) |
void |
setFlags(int flags) |
void |
setName(String name) |
void |
setSpeed(int speed) |
void |
setSpeedMax(int speedMax) |
void |
setSpeedMin(int speedMin) |
void |
setValue(int value) |
String |
toString() |
public OpenRGBMode()
public OpenRGBMode(String name, int value, int flags, int speedMin, int speedMax, int colorMin, int colorMax, int speed, ModeDirection direction, ColorMode colorMode, List<OpenRGBColor> colors)
name - the mode namevalue - the mode valueflags - the mode flagsspeedMin - the minimum speedspeedMax - the maximum speedcolorMin - the minimum colorcolorMax - the maximum colorspeed - the mode speeddirection - the mode directioncolorMode - the mode color modecolors - the mode specific colorspublic String getName()
public void setName(String name)
public int getValue()
public void setValue(int value)
public int getFlags()
public void setFlags(int flags)
public int getSpeedMin()
public void setSpeedMin(int speedMin)
public int getSpeedMax()
public void setSpeedMax(int speedMax)
public int getColorMin()
public void setColorMin(int colorMin)
public int getColorMax()
public void setColorMax(int colorMax)
public int getSpeed()
public void setSpeed(int speed)
public ModeDirection getDirection()
public void setDirection(ModeDirection direction)
public ColorMode getColorMode()
public void setColorMode(ColorMode colorMode)
public List<OpenRGBColor> getColors()
public void setColors(List<OpenRGBColor> openRGBColors)
Copyright © 2021. All rights reserved.