Class ColorPicker
java.lang.Object
com.badlogic.gdx.scenes.scene2d.Actor
com.badlogic.gdx.scenes.scene2d.ui.Widget
com.badlogic.gdx.scenes.scene2d.ui.Image
gaiasky.util.scene2d.OwnImage
gaiasky.gui.window.ColorPickerAbstract
gaiasky.gui.window.ColorPicker
- All Implemented Interfaces:
com.badlogic.gdx.scenes.scene2d.utils.Layout
-
Field Summary
Fields inherited from class ColorPickerAbstract
color, name, newColormapRunnable, newColorRunnable, skin, stageFields inherited from class com.badlogic.gdx.scenes.scene2d.Actor
POOLS -
Constructor Summary
ConstructorsConstructorDescriptionColorPicker(float[] rgba, com.badlogic.gdx.scenes.scene2d.Stage stage, com.badlogic.gdx.scenes.scene2d.ui.Skin skin) ColorPicker(com.badlogic.gdx.graphics.Color color, com.badlogic.gdx.scenes.scene2d.Stage stage, com.badlogic.gdx.scenes.scene2d.ui.Skin skin) ColorPicker(com.badlogic.gdx.graphics.Color color, com.badlogic.gdx.scenes.scene2d.Stage stage, com.badlogic.gdx.scenes.scene2d.ui.Skin skin, boolean showAlpha) ColorPicker(com.badlogic.gdx.scenes.scene2d.Stage stage, com.badlogic.gdx.scenes.scene2d.ui.Skin skin) ColorPicker(com.badlogic.gdx.scenes.scene2d.Stage stage, com.badlogic.gdx.scenes.scene2d.ui.Skin skin, boolean showAlpha) ColorPicker(String name, float[] rgba, com.badlogic.gdx.scenes.scene2d.Stage stage, com.badlogic.gdx.scenes.scene2d.ui.Skin skin) ColorPicker(String name, com.badlogic.gdx.scenes.scene2d.Stage stage, com.badlogic.gdx.scenes.scene2d.ui.Skin skin) -
Method Summary
Methods inherited from class ColorPickerAbstract
getPickedColor, getPickedColorArray, getPickedColorDouble, initColor, setPickedColor, setPickedColor, setPickedColorModifier and TypeMethodDescriptioncom.badlogic.gdx.graphics.Colorfloat[]double[]protected voidvoidsetPickedColor(float[] color) voidsetPickedColor(float r, float g, float b, float a) voidsetPickedColor(com.badlogic.gdx.graphics.Color color) Methods inherited from class OwnImage
draw, getPrefHeight, getPrefWidth, setHeight, setSize, setTexture, setTooltip, setWidthModifier and TypeMethodDescriptionvoiddraw(com.badlogic.gdx.graphics.g2d.Batch batch, float parentAlpha) floatfloatvoidsetHeight(float height) voidsetSize(float width, float height) voidsetTexture(com.badlogic.gdx.graphics.Texture tex) voidsetTooltip(String tooltip, com.badlogic.gdx.scenes.scene2d.ui.Skin skin) voidsetWidth(float width) Methods inherited from class com.badlogic.gdx.scenes.scene2d.ui.Image
getAlign, getDrawable, getImageHeight, getImageWidth, getImageX, getImageY, getMinHeight, getMinWidth, layout, setAlign, setDrawable, setDrawable, setScaling, toStringMethods inherited from class com.badlogic.gdx.scenes.scene2d.ui.Widget
getMaxHeight, getMaxWidth, invalidate, invalidateHierarchy, needsLayout, pack, setFillParent, setLayoutEnabled, sizeChanged, validateMethods inherited from class com.badlogic.gdx.scenes.scene2d.Actor
act, addAction, addCaptureListener, addListener, ancestorsVisible, ascendantsVisible, clear, clearActions, clearListeners, clipBegin, clipBegin, clipEnd, debug, drawDebug, drawDebugBounds, fire, firstAscendant, getActions, getCaptureListeners, getColor, getDebug, getHeight, getListeners, getName, getOriginX, getOriginY, getParent, getRight, getRotation, getScaleX, getScaleY, getStage, getTop, getTouchable, getUserObject, getWidth, getX, getX, getY, getY, getZIndex, hasActions, hasKeyboardFocus, hasParent, hasScrollFocus, hit, isAscendantOf, isDescendantOf, isTouchable, isTouchFocusListener, isTouchFocusTarget, isVisible, localToActorCoordinates, localToAscendantCoordinates, localToParentCoordinates, localToScreenCoordinates, localToStageCoordinates, moveBy, notify, parentToLocalCoordinates, positionChanged, remove, removeAction, removeCaptureListener, removeListener, rotateBy, rotationChanged, scaleBy, scaleBy, scaleChanged, screenToLocalCoordinates, setBounds, setColor, setColor, setDebug, setName, setOrigin, setOrigin, setOriginX, setOriginY, setParent, setPosition, setPosition, setRotation, setScale, setScale, setScaleX, setScaleY, setStage, setTouchable, setUserObject, setVisible, setX, setX, setY, setY, setZIndex, sizeBy, sizeBy, stageToLocalCoordinates, toBack, toFront
-
Constructor Details
-
ColorPicker
public ColorPicker(com.badlogic.gdx.scenes.scene2d.Stage stage, com.badlogic.gdx.scenes.scene2d.ui.Skin skin) -
ColorPicker
public ColorPicker(com.badlogic.gdx.scenes.scene2d.Stage stage, com.badlogic.gdx.scenes.scene2d.ui.Skin skin, boolean showAlpha) -
ColorPicker
public ColorPicker(String name, com.badlogic.gdx.scenes.scene2d.Stage stage, com.badlogic.gdx.scenes.scene2d.ui.Skin skin) -
ColorPicker
public ColorPicker(float[] rgba, com.badlogic.gdx.scenes.scene2d.Stage stage, com.badlogic.gdx.scenes.scene2d.ui.Skin skin) -
ColorPicker
public ColorPicker(com.badlogic.gdx.graphics.Color color, com.badlogic.gdx.scenes.scene2d.Stage stage, com.badlogic.gdx.scenes.scene2d.ui.Skin skin) -
ColorPicker
public ColorPicker(com.badlogic.gdx.graphics.Color color, com.badlogic.gdx.scenes.scene2d.Stage stage, com.badlogic.gdx.scenes.scene2d.ui.Skin skin, boolean showAlpha) -
ColorPicker
public ColorPicker(String name, float[] rgba, com.badlogic.gdx.scenes.scene2d.Stage stage, com.badlogic.gdx.scenes.scene2d.ui.Skin skin)
-
-
Method Details
-
initialize
protected void initialize(boolean showAlpha) - Specified by:
initializein classColorPickerAbstract
-
setNewColorRunnable
-