question: update the component color based on whether the user has control of the app . concode_field_sep ColorRGBA HAS_CONTROL_COLOR concode_elem_sep View2DCell view concode_elem_sep boolean eventListenersAttached concode_elem_sep ColorRGBA NO_CONTROL_COLOR concode_elem_sep Entity parentEntity concode_elem_sep Node localToCellNode concode_elem_sep String name concode_elem_sep ControlArb controlArb concode_elem_sep Gui2D gui concode_elem_sep ColorRGBA NO_CONTROL_FOREGROUND_COLOR concode_elem_sep ColorRGBA HAS_CONTROL_FOREGROUND_COLOR concode_elem_sep Entity entity concode_field_sep ColorRGBA getForegroundColor concode_elem_sep void detachFromParentEntity concode_elem_sep void cleanupSceneGraph concode_elem_sep void setParentEntity concode_elem_sep void update concode_elem_sep ColorRGBA getColor concode_elem_sep void initEntity concode_elem_sep Entity getEntity concode_elem_sep void setLocalTranslationNoUpdater concode_elem_sep Spatial[] getSpatials concode_elem_sep void setColor concode_elem_sep void cleanup concode_elem_sep void initSceneGraph concode_elem_sep void updateControl concode_elem_sep void setLocalTranslation concode_elem_sep String toString concode_elem_sep Node getNode concode_elem_sep void attachToParentEntity concode_elem_sep void setForegroundColor concode_elem_sep void cleanupEntity
target: void function ( ) { if ( controlArb == null || controlArb . hasControl ( ) ) { setColor ( HAS_CONTROL_COLOR ) ; setForegroundColor ( HAS_CONTROL_FOREGROUND_COLOR ) ; } else { setColor ( NO_CONTROL_COLOR ) ; setForegroundColor ( NO_CONTROL_FOREGROUND_COLOR ) ; } }