SYMBOL INDEX (582 symbols across 51 files) FILE: src/com/hueemulator/emulator/Constants.java class Constants (line 3) | public class Constants { FILE: src/com/hueemulator/emulator/Controller.java class Controller (line 41) | public class Controller { method Controller (line 57) | public Controller(Model model, View view, String fileName){ method addPropertiesListeners (line 71) | public void addPropertiesListeners() { method addMenuListeners (line 80) | public void addMenuListeners(){ method Controller (line 204) | public Controller() { method addTextToConsole (line 209) | public void addTextToConsole(String text, Color textColour, boolean ap... method repaintBulbs (line 230) | public void repaintBulbs() { method setIPAddress (line 249) | public void setIPAddress() throws UnknownHostException { method getPort (line 259) | public String getPort() { method getModel (line 263) | public Model getModel() { method setModel (line 267) | public void setModel(Model model) { method paintGraphicsPanel (line 271) | public void paintGraphicsPanel() { method addNewBulb (line 275) | public void addNewBulb(boolean isLux) { method getDefaultPointSymbols (line 333) | public static Map getDefaultPointSymbols() { method getIpAddress (line 346) | public String getIpAddress() { method clearConsole (line 350) | public void clearConsole() { method append (line 357) | public void append(final String dateString, final String s, final Colo... method isHasBridgeBeenPushLinked (line 389) | public boolean isHasBridgeBeenPushLinked() { method setHasBridgeBeenPushLinked (line 393) | public void setHasBridgeBeenPushLinked(boolean hasBridgeBeenPushLinked) { method showRequestJson (line 397) | public boolean showRequestJson() { method setShowRequestJson (line 401) | public void setShowRequestJson(boolean showRequestJSON) { method showResponseJson (line 405) | public boolean showResponseJson() { method setShowResponseJson (line 409) | public void setShowResponseJson(boolean showResponseJSON) { method setShowFullConfigJson (line 413) | public void setShowFullConfigJson(boolean showFullConfigJSON) { FILE: src/com/hueemulator/emulator/Emulator.java class Emulator (line 22) | public class Emulator { method Emulator (line 28) | public Emulator(Controller controller, String fileName) { method startServers (line 39) | public void startServers() { method stopServer (line 62) | public void stopServer() { method loadConfiguration (line 73) | public boolean loadConfiguration(String fileName) { method getServer (line 96) | public Server getServer() { method setServer (line 100) | public void setServer(Server server) { FILE: src/com/hueemulator/emulator/HueEmulator.java class HueEmulator (line 5) | public class HueEmulator{ method main (line 7) | public static void main(String args[]) { method HueEmulator (line 11) | public HueEmulator(String fileName) { FILE: src/com/hueemulator/emulator/Model.java class Model (line 6) | public class Model { method Model (line 15) | public Model(){ method isShowConsoleTime (line 19) | public boolean isShowConsoleTime() { method isShowFullConfig (line 23) | public boolean isShowFullConfig() { method setShowConsoleTime (line 27) | public void setShowConsoleTime(boolean showConsoleTime) { method getBridgeConfiguration (line 31) | public PHBridgeConfiguration getBridgeConfiguration() { method setBridgeConfiguration (line 35) | public void setBridgeConfiguration(PHBridgeConfiguration bridgeConfigu... method isShowRequestJSON (line 39) | public boolean isShowRequestJSON() { method setShowRequestJSON (line 43) | public void setShowRequestJSON(boolean showRequestJSON) { method isShowResponseJSON (line 47) | public boolean isShowResponseJSON() { method setShowResponseJSON (line 51) | public void setShowResponseJSON(boolean showResponseJSON) { method setShowFullConfigJSON (line 55) | public void setShowFullConfigJSON(boolean showFullConfigJSON) { FILE: src/com/hueemulator/emulator/PHScheduleTimer.java class PHScheduleTimer (line 7) | public class PHScheduleTimer extends Timer { method getScheduleIdentifier (line 12) | public String getScheduleIdentifier() { method setScheduleIdentifier (line 16) | public void setScheduleIdentifier(String scheduleIdentifier) { method getCommandJSON (line 20) | public JSONObject getCommandJSON() { method setCommandJSON (line 24) | public void setCommandJSON(JSONObject commandJSON) { FILE: src/com/hueemulator/emulator/PHScheduleTimerManager.java class PHScheduleTimerManager (line 6) | public class PHScheduleTimerManager { method PHScheduleTimerManager (line 18) | private PHScheduleTimerManager() { method getInstance (line 22) | public static synchronized PHScheduleTimerManager getInstance(){ method storeSchedule (line 29) | public void storeSchedule(String scheduleIdentifier, PHScheduleTimer s... method removeSchedule (line 33) | public void removeSchedule(String scheduleIdentifier){ FILE: src/com/hueemulator/gui/About.java class About (line 9) | public class About extends JFrame{ method About (line 13) | public About() { FILE: src/com/hueemulator/gui/GraphicsPanel.java class GraphicsPanel (line 31) | public class GraphicsPanel extends JPanel implements MouseListener { method GraphicsPanel (line 60) | public GraphicsPanel(String size) { method setController (line 103) | public void setController(Controller controller) { method paintComponent (line 107) | public void paintComponent( Graphics g ) { method showBridgeInfo (line 203) | public void showBridgeInfo(Graphics2D g2, Model model) { method showBulbInfo (line 232) | public void showBulbInfo(Graphics2D g2, PHLight light, PHLightState st... method getModel (line 276) | public Model getModel() { method setModel (line 280) | public void setModel(Model model) { method mouseClicked (line 287) | @Override method mouseEntered (line 293) | @Override method mouseExited (line 299) | @Override method mousePressed (line 306) | @Override method mouseReleased (line 357) | @Override FILE: src/com/hueemulator/gui/Help.java class Help (line 7) | public class Help extends JFrame{ method Help (line 10) | public Help() { FILE: src/com/hueemulator/gui/HueMenuBar.java class HueMenuBar (line 20) | public class HueMenuBar extends JMenuBar { method HueMenuBar (line 39) | public HueMenuBar() { method getPort (line 220) | public JTextField getPort() { method setPort (line 225) | public void setPort(JTextField port) { method getMenuBar (line 230) | public JMenuBar getMenuBar() { method setMenuBar (line 235) | public void setMenuBar(JMenuBar menuBar) { method getFileMenu (line 240) | public JMenu getFileMenu() { method setFileMenu (line 245) | public void setFileMenu(JMenu fileMenu) { method getHelpMenu (line 250) | public JMenu getHelpMenu() { method setHelpMenu (line 255) | public void setHelpMenu(JMenu helpMenu) { method getMenuItem (line 260) | public JMenuItem getMenuItem() { method setMenuItem (line 265) | public void setMenuItem(JMenuItem menuItem) { method getStartButton (line 269) | public JButton getStartButton() { method setStartButton (line 273) | public void setStartButton(JButton startButton) { method getStopButton (line 277) | public JButton getStopButton() { method setStopButton (line 281) | public void setStopButton(JButton stopButton) { method getClearConsoleMenuItem (line 285) | public JMenuItem getClearConsoleMenuItem() { method setClearConsoleMenuItem (line 289) | public void setClearConsoleMenuItem(JMenuItem clearConsoleMenuItem) { method getHelpMenuItem (line 293) | public JMenuItem getHelpMenuItem() { method setHelpMenuItem (line 297) | public void setHelpMenuItem(JMenuItem helpMenuItem) { method getAboutMenuItem (line 301) | public JMenuItem getAboutMenuItem() { method setAboutMenuItem (line 305) | public void setAboutMenuItem(JMenuItem aboutMenuItem) { method getViewGraphicsMenuItems (line 309) | public JCheckBoxMenuItem getViewGraphicsMenuItems() { method setViewGraphicsMenuItems (line 313) | public void setViewGraphicsMenuItems(JCheckBoxMenuItem viewGraphicsMen... method getLoadConfigMenuItem (line 317) | public JMenuItem getLoadConfigMenuItem() { method setLoadConfigMenuItem (line 321) | public void setLoadConfigMenuItem(JMenuItem loadConfigMenuItem) { method getSaveConfigMenuItem (line 325) | public JMenuItem getSaveConfigMenuItem() { method setSaveConfigMenuItem (line 329) | public void setSaveConfigMenuItem(JMenuItem saveConfigMenuItem) { method setController (line 333) | public void setController(Controller controller) { method getLargeLightFrame (line 337) | public LightsFrame getLargeLightFrame() { method setLargeLightFrame (line 341) | public void setLargeLightFrame(LightsFrame lightFrame) { method getSmallLightFrame (line 345) | public LightsFrame getSmallLightFrame() { method setSmallLightFrame (line 349) | public void setSmallLightFrame(LightsFrame lightFrame) { FILE: src/com/hueemulator/gui/LightsFrame.java class LightsFrame (line 12) | public class LightsFrame extends JFrame { method LightsFrame (line 19) | public LightsFrame(Controller controller, String size) { method setModel (line 37) | public void setModel(Model model) { FILE: src/com/hueemulator/gui/PropertiesFrame.java class PropertiesFrame (line 12) | public class PropertiesFrame extends JFrame{ method PropertiesFrame (line 17) | public PropertiesFrame() { method getIncludeTime (line 41) | public JCheckBox getIncludeTime() { method setIncludeTime (line 45) | public void setIncludeTime(JCheckBox includeTime) { method getShowJSONResponses (line 49) | public JCheckBox getShowJSONResponses() { method setShowJSONResponses (line 53) | public void setShowJSONResponses(JCheckBox showJSONResponses) { FILE: src/com/hueemulator/gui/View.java class View (line 15) | public class View { method View (line 26) | public View(){ method getConsole (line 75) | public JEditorPane getConsole() { method setConsole (line 79) | public void setConsole(JEditorPane console) { method getMenuBar (line 83) | public HueMenuBar getMenuBar() { method setMenuBar (line 87) | public void setMenuBar(HueMenuBar menuBar) { method getGraphicsPanel (line 91) | public GraphicsPanel getGraphicsPanel() { method setGraphicsPanel (line 95) | public void setGraphicsPanel(GraphicsPanel graphicsPanel) { method getAbout (line 99) | public About getAbout() { method setAbout (line 103) | public void setAbout(About about) { method getHelp (line 107) | public Help getHelp() { method setHelp (line 111) | public void setHelp(Help help) { method getPropertiesFrame (line 115) | public PropertiesFrame getPropertiesFrame() { method setPropertiesFrame (line 119) | public void setPropertiesFrame(PropertiesFrame propertiesFrame) { method getConsoleScrollPane (line 123) | public JScrollPane getConsoleScrollPane() { method setConsoleScrollPane (line 127) | public void setConsoleScrollPane(JScrollPane consoleScrollPane) { FILE: src/com/hueemulator/model/PHBody.java class PHBody (line 7) | public class PHBody method getBri (line 26) | public Integer getBri() method setBri (line 31) | public void setBri(Integer bri) method getTransitiontime (line 36) | public Integer getTransitiontime() method setTransitiontime (line 41) | public void setTransitiontime(Integer transitiontime) method getOn (line 46) | public Boolean getOn() method setOn (line 51) | public void setOn(Boolean on) method getXy (line 56) | public List getXy() method setXy (line 61) | public void setXy(List xy) method getScene (line 66) | public Boolean getScene() { method setScene (line 70) | public void setScene(Boolean scene) { FILE: src/com/hueemulator/model/PHBridgeConfiguration.java class PHBridgeConfiguration (line 7) | public class PHBridgeConfiguration method getLights (line 25) | public Map getLights() method setLights (line 30) | public void setLights(Map lights) method getSchedules (line 35) | public Map getSchedules() method setSchedules (line 40) | public void setSchedules(Map schedules) method getConfig (line 45) | public PHConfig getConfig() method setConfig (line 50) | public void setConfig(PHConfig config) method getGroups (line 55) | public Map getGroups() method getScenes (line 60) | public Map getScenes() method setGroups (line 65) | public void setGroups(Map groups) method setScenes (line 70) | public void setScenes(Map scenes) FILE: src/com/hueemulator/model/PHCommand.java class PHCommand (line 5) | public class PHCommand method getBody (line 16) | public PHBody getBody() method setBody (line 21) | public void setBody(PHBody body) method getAddress (line 26) | public String getAddress() method setAddress (line 31) | public void setAddress(String address) method getMethod (line 36) | public String getMethod() method setMethod (line 41) | public void setMethod(String method) FILE: src/com/hueemulator/model/PHConfig.java class PHConfig (line 7) | public class PHConfig method getPortalservices (line 59) | public Boolean getPortalservices() method setPortalservices (line 64) | public void setPortalservices(Boolean portalservices) method getGateway (line 69) | public String getGateway() method setGateway (line 74) | public void setGateway(String gateway) method getMac (line 79) | public String getMac() method setMac (line 84) | public void setMac(String mac) method getSwversion (line 89) | public String getSwversion() method setSwversion (line 94) | public void setSwversion(String swversion) method getLinkbutton (line 99) | public Boolean getLinkbutton() method setLinkbutton (line 104) | public void setLinkbutton(Boolean linkbutton) method getIpaddress (line 109) | public String getIpaddress() method setIpaddress (line 114) | public void setIpaddress(String ipaddress) method getProxyport (line 119) | public Integer getProxyport() method setProxyport (line 124) | public void setProxyport(Integer proxyport) method getSwupdate (line 129) | public PHSwupdate getSwupdate() method setSwupdate (line 134) | public void setSwupdate(PHSwupdate swupdate) method getNetmask (line 139) | public String getNetmask() method setNetmask (line 144) | public void setNetmask(String netmask) method getName (line 149) | public String getName() method setName (line 154) | public void setName(String name) method getDhcp (line 159) | public Boolean getDhcp() method setDhcp (line 164) | public void setDhcp(Boolean dhcp) method getUtc (line 169) | public String getUtc() method setUtc (line 174) | public void setUtc(String utc) method getProxyaddress (line 179) | public String getProxyaddress() method setProxyaddress (line 184) | public void setProxyaddress(String proxyaddress) method getWhitelist (line 189) | public Map getWhitelist() { method setWhitelist (line 193) | public void setWhitelist(Map whitelist) { method getBridgeid (line 197) | public String getBridgeid() { method setBridgeid (line 201) | public void setBridgeid(String bridgeid) { method getModelid (line 205) | public String getModelid() { method setModelid (line 209) | public void setModelid(String modelid) { FILE: src/com/hueemulator/model/PHGroupsEntry.java class PHGroupsEntry (line 8) | @JsonIgnoreProperties(ignoreUnknown = true) method getName (line 20) | public String getName() method setName (line 25) | public void setName(String name) method getLightState (line 30) | public PHLightState getLightState() method setLightState (line 35) | public void setLightState(PHLightState lightState) method getLightIdentifiers (line 40) | public List getLightIdentifiers() { method setLightIdentifiers (line 44) | public void setLightIdentifiers(List lightIdentifiers) { FILE: src/com/hueemulator/model/PHLight.java class PHLight (line 8) | public class PHLight method PHLight (line 34) | public PHLight() {} method PHLight (line 36) | public PHLight(PHLight light) { method getName (line 45) | public String getName() method setName (line 50) | public void setName(String name) method getState (line 55) | public PHLightState getState() method setState (line 60) | public void setState(PHLightState state) method getModelid (line 65) | public String getModelid() method setModelid (line 70) | public void setModelid(String modelid) method getSwversion (line 75) | public String getSwversion() method setSwversion (line 80) | public void setSwversion(String swversion) method getType (line 85) | public String getType() method setType (line 90) | public void setType(String type) method getPointsymbol (line 95) | public Map getPointsymbol() method setPointsymbol (line 100) | public void setPointsymbol(Map pointsymbol) method getIdentifier (line 105) | public String getIdentifier() { method setIdentifier (line 109) | public void setIdentifier(String identifier) { method getUniqueid (line 113) | public String getUniqueid() { method setUniqueid (line 117) | public void setUniqueid(String uniqueid) { FILE: src/com/hueemulator/model/PHLightState.java class PHLightState (line 13) | public class PHLightState method PHLightState (line 49) | public PHLightState() { } method PHLightState (line 51) | public PHLightState(PHLightState lightState) { method getBri (line 64) | public Integer getBri() method setBri (line 69) | public void setBri(Integer bri) method getEffect (line 74) | public String getEffect() method setEffect (line 79) | public void setEffect(String effect) method getSat (line 84) | public Integer getSat() method setSat (line 89) | public void setSat(Integer sat) method getReachable (line 94) | @JsonIgnore method setReachable (line 100) | public void setReachable(Boolean reachable) method getAlert (line 105) | public String getAlert() method setAlert (line 110) | public void setAlert(String alert) method getHue (line 115) | public Integer getHue() method setHue (line 120) | public void setHue(Integer hue) method getColormode (line 125) | public String getColormode() method setColormode (line 130) | public void setColormode(String colormode) method getOn (line 135) | public Boolean getOn() method setOn (line 140) | public void setOn(Boolean on) method getCt (line 145) | public Integer getCt() method setCt (line 150) | public void setCt(Integer ct) method getXy (line 155) | public List getXy() method setXy (line 160) | public void setXy(List xy) method serializeLightState (line 165) | public JSONObject serializeLightState(PHLightState state) throws JSONE... method toString (line 219) | @Override method getTransitionTime (line 224) | public Integer getTransitionTime() { method setTransitionTime (line 228) | public void setTransitionTime(Integer transitionTime) { FILE: src/com/hueemulator/model/PHScenesEntry.java class PHScenesEntry (line 7) | public class PHScenesEntry method getName (line 19) | public String getName() method setName (line 24) | public void setName(String name) method getLights (line 29) | public List getLights() method setLights (line 34) | public void setLights(List lights) method isActive (line 39) | public boolean isActive() { method setActive (line 43) | public void setActive(boolean active) { FILE: src/com/hueemulator/model/PHSchedulesEntry.java class PHSchedulesEntry (line 6) | @JsonIgnoreProperties(ignoreUnknown = true) method getTime (line 21) | public String getTime() method setTime (line 26) | public void setTime(String time) method getDescription (line 31) | public String getDescription() method setDescription (line 36) | public void setDescription(String description) method getName (line 41) | public String getName() method setName (line 46) | public void setName(String name) method getCommand (line 51) | public PHCommand getCommand() method setCommand (line 56) | public void setCommand(PHCommand command) FILE: src/com/hueemulator/model/PHSwupdate.java class PHSwupdate (line 5) | public class PHSwupdate method getText (line 19) | public String getText() method setText (line 24) | public void setText(String text) method getNotify (line 29) | public Boolean getNotify() method setNotify (line 34) | public void setNotify(Boolean notify) method getUpdatestate (line 39) | public Integer getUpdatestate() method setUpdatestate (line 44) | public void setUpdatestate(Integer updatestate) method getUrl (line 49) | public String getUrl() method setUrl (line 54) | public void setUrl(String url) FILE: src/com/hueemulator/model/PHWhitelistEntry.java class PHWhitelistEntry (line 5) | public class PHWhitelistEntry method getLastUseDate (line 16) | public String getLastUseDate() method setLastUseDate (line 21) | public void setLastUseDate(String lastUseDate) method getCreateDate (line 26) | public String getCreateDate() method setCreateDate (line 31) | public void setCreateDate(String createDate) method getName (line 36) | public String getName() method setName (line 41) | public void setName(String name) FILE: src/com/hueemulator/server/MyApiHandler.java class MyApiHandler (line 25) | class MyApiHandler implements HttpHandler { method MyApiHandler (line 35) | public MyApiHandler(PHBridgeConfiguration bridgeConfiguration, Control... method handle (line 46) | public void handle(HttpExchange exchange) throws IOException { method handlePut (line 127) | public void handlePut(ObjectMapper mapper, String url, OutputStream re... method handlePost (line 159) | public void handlePost(ObjectMapper mapper, String url, OutputStream r... method handleGet (line 175) | public void handleGet(ObjectMapper mapper, String url, OutputStream re... method handleDelete (line 213) | public void handleDelete(ObjectMapper mapper, OutputStream responseBod... FILE: src/com/hueemulator/server/MyRootHandler.java class MyRootHandler (line 13) | class MyRootHandler implements HttpHandler { method MyRootHandler (line 18) | public MyRootHandler(Controller controller) { method handle (line 24) | public void handle(HttpExchange exchange) throws IOException { FILE: src/com/hueemulator/server/Server.java class Server (line 12) | public class Server { method Server (line 16) | public Server(PHBridgeConfiguration bridgeConfiguration, Controller co... method createContext (line 26) | public void createContext(PHBridgeConfiguration bridgeConfiguration, C... method removeContext (line 31) | public void removeContext() { method getHttpServer (line 36) | public HttpServer getHttpServer() { method setHttpServer (line 40) | public void setHttpServer(HttpServer httpServer) { FILE: src/com/hueemulator/server/UPNPServer.java class UPNPServer (line 12) | public class UPNPServer extends Thread { method UPNPServer (line 22) | public UPNPServer(Controller controller) { method run (line 33) | public void run() { method startUPNPServer (line 73) | public void startUPNPServer() { method stopUPNPServer (line 78) | public void stopUPNPServer() { FILE: src/com/hueemulator/server/handlers/ConfigurationAPI.java class ConfigurationAPI (line 22) | public class ConfigurationAPI { method getBridgeDescription (line 28) | public void getBridgeDescription(OutputStream responseBody, String ipA... method createUser_7_1 (line 51) | public void createUser_7_1(ObjectMapper mapper, String jSONString, PHB... method getConfig_7_2 (line 139) | public void getConfig_7_2(ObjectMapper mapper, PHBridgeConfiguration b... method deleteUser_7_4 (line 150) | public void deleteUser_7_4(ObjectMapper mapper, PHBridgeConfiguration ... method getFullState_7_5 (line 165) | public void getFullState_7_5(ObjectMapper mapper, PHBridgeConfiguratio... method isValidUserName (line 172) | public boolean isValidUserName(PHBridgeConfiguration bridgeConfigurati... method createNewUsername (line 198) | public void createNewUsername(PHBridgeConfiguration bridgeConfiguratio... method returnNonAuthenticatedConfig (line 207) | public void returnNonAuthenticatedConfig(PHBridgeConfiguration bridgeC... method returnErrorResponse (line 223) | public void returnErrorResponse(String errorType, String description, ... FILE: src/com/hueemulator/server/handlers/GroupsAPI.java class GroupsAPI (line 24) | public class GroupsAPI { method getAllGroups_2_1 (line 32) | public void getAllGroups_2_1(ObjectMapper mapper, PHBridgeConfiguratio... method createGroup_2_2 (line 63) | public void createGroup_2_2(ObjectMapper mapper, String jSONString, PH... method getGroupAttributes_2_3 (line 143) | public void getGroupAttributes_2_3(ObjectMapper mapper, PHBridgeConfig... method setGroupAttributes_2_4 (line 159) | public void setGroupAttributes_2_4(ObjectMapper mapper, String jSONStr... method setGroupState_2_5 (line 240) | public void setGroupState_2_5(ObjectMapper mapper, String jSONString, ... method removeDuplicates (line 317) | public static JSONArray removeDuplicates(JSONArray originalArray, bool... method deleteGroup_2_6 (line 349) | public void deleteGroup_2_6(ObjectMapper mapper, PHBridgeConfiguration... method sendErrorResponse (line 372) | public void sendErrorResponse(String groupIdentifier, String type, Out... method getLightObjectsFromLightIds (line 386) | public List getLightObjectsFromLightIds(PHBridgeConfiguration... FILE: src/com/hueemulator/server/handlers/LightsAPI.java class LightsAPI (line 27) | public class LightsAPI { method getAllLights_1_1 (line 35) | public void getAllLights_1_1(ObjectMapper mapper, PHBridgeConfiguratio... method getLightAttributes_1_4 (line 55) | public void getLightAttributes_1_4(ObjectMapper mapper, PHBridgeConfig... method getLightJSON (line 72) | public JSONObject getLightJSON(PHLight light) { method setLightAttributes_1_5 (line 111) | public void setLightAttributes_1_5(ObjectMapper mapper, String jSONStr... method setLightState_1_6 (line 169) | public void setLightState_1_6(ObjectMapper mapper, String jSONString, ... method setLightState (line 192) | public void setLightState(String baseUrl, String lightType, PHLightSta... method sendErrorResponse (line 377) | public void sendErrorResponse(String lightIdentifier, String type, Out... FILE: src/com/hueemulator/server/handlers/ScenesAPI.java class ScenesAPI (line 23) | public class ScenesAPI { method getAllScenes_4_1 (line 33) | public void getAllScenes_4_1(ObjectMapper mapper, PHBridgeConfiguratio... method createScene_4_2 (line 66) | public void createScene_4_2(ObjectMapper mapper, String jSONString, PH... method cloneLightObjectsFromLightIds (line 144) | public List cloneLightObjectsFromLightIds(PHBridgeConfigurati... FILE: src/com/hueemulator/server/handlers/SchedulesAPI.java class SchedulesAPI (line 25) | public class SchedulesAPI { method getAllSchedules_3_1 (line 32) | public void getAllSchedules_3_1(PHBridgeConfiguration bridgeConfigurat... method createSchedule_3_2 (line 77) | public void createSchedule_3_2(ObjectMapper mapper, String jSONString,... method getScheduleAttributes_3_3 (line 198) | public void getScheduleAttributes_3_3(ObjectMapper mapper, PHBridgeCon... method setScheduleAttributes_3_4 (line 214) | public void setScheduleAttributes_3_4(ObjectMapper mapper, String jSON... method deleteSchedule_3_5 (line 331) | public void deleteSchedule_3_5(ObjectMapper mapper, PHBridgeConfigurat... method sendErrorResponse (line 355) | public void sendErrorResponse(String lightIdentifier, String type, Out... class ScheduleTask (line 372) | class ScheduleTask extends TimerTask { method ScheduleTask (line 378) | public ScheduleTask(String scheduleIdentifier, JSONObject commandObj... method run (line 385) | public void run() { FILE: src/com/hueemulator/utils/HueColor.java class HueColor (line 18) | public class HueColor { method alpha (line 36) | public static int alpha(int color) { method red (line 44) | public static int red(int color) { method green (line 52) | public static int green(int color) { method blue (line 60) | public static int blue(int color) { method rgb (line 74) | public static int rgb(int red, int green, int blue) { method argb (line 88) | public static int argb(int alpha, int red, int green, int blue) { method hue (line 99) | public static float hue(int color) { method saturation (line 141) | public static float saturation(int color) { method brightness (line 168) | public static float brightness(int color) { method parseColor (line 189) | public static int parseColor(String colorString) { FILE: src/com/hueemulator/utils/OpenFileFilter.java class OpenFileFilter (line 14) | public class OpenFileFilter extends FileFilter { method OpenFileFilter (line 19) | public OpenFileFilter(String extension) { method OpenFileFilter (line 23) | public OpenFileFilter(String extension, String typeDescription) { method accept (line 28) | @Override method getDescription (line 35) | @Override FILE: src/com/hueemulator/utils/PHUtilitiesHelper.java class PHUtilitiesHelper (line 7) | public class PHUtilitiesHelper { method colorFromXY (line 30) | public static int colorFromXY(float[] points, String model) { method fixIfOutOfRange (line 110) | public static PointF fixIfOutOfRange(PointF xy, String model) { method calculateXYFromRGB (line 159) | public float[] calculateXYFromRGB(int red, int green, int blue, String... method calculateXY (line 174) | public float[] calculateXY(int color, String model) { method checkPointInLampsReach (line 260) | private static boolean checkPointInLampsReach(PointF point, List colorPointsForModel(String model) { method getClosestPointToPoints (line 368) | private static PointF getClosestPointToPoints(PointF pointA, PointF po... method precision (line 389) | public static float precision(int decimalPlace, float val) { FILE: src/com/hueemulator/utils/PointF.java class PointF (line 7) | public class PointF { method PointF (line 11) | public PointF() {} method PointF (line 13) | public PointF(float x, float y) { method set (line 22) | public final void set(float x, float y) { method set (line 30) | public final void set(PointF p) { method negate (line 35) | public final void negate() { method offset (line 40) | public final void offset(float dx, float dy) { method equals (line 48) | public final boolean equals(float x, float y) { FILE: src/com/hueemulator/utils/Utils.java class Utils (line 18) | public class Utils { method isInRange (line 22) | public static boolean isInRange(int value, int start, int end) { method chopName (line 30) | public static String chopName(String name) { method isDateValid (line 47) | public static boolean isDateValid(String dateString) { method stringToDate (line 67) | public static Date stringToDate(String dateString) { method doHttpCall (line 86) | public static void doHttpCall(String ipAddress, String httpMethod, Str... method getCurrentDate (line 116) | public static String getCurrentDate() { method isJSONValid (line 125) | public static boolean isJSONValid(String test) method loadDescriptionFile (line 138) | public static String loadDescriptionFile(String fileName) throws IOExc... method generateRandomUsername (line 164) | public static String generateRandomUsername() { method generateRandomUniqueId (line 177) | public static String generateRandomUniqueId() FILE: src/org/json/JSONArray.java class JSONArray (line 80) | public class JSONArray { method JSONArray (line 90) | public JSONArray() { method JSONArray (line 102) | public JSONArray(JSONTokener x) throws JSONException { method JSONArray (line 143) | public JSONArray(String source) throws JSONException { method JSONArray (line 153) | public JSONArray(Collection collection) { method JSONArray (line 169) | public JSONArray(Object array) throws JSONException { method get (line 191) | public Object get(int index) throws JSONException { method getBoolean (line 210) | public boolean getBoolean(int index) throws JSONException { method getDouble (line 234) | public double getDouble(int index) throws JSONException { method getInt (line 253) | public int getInt(int index) throws JSONException { method getJSONArray (line 273) | public JSONArray getJSONArray(int index) throws JSONException { method getJSONObject (line 291) | public JSONObject getJSONObject(int index) throws JSONException { method getLong (line 309) | public long getLong(int index) throws JSONException { method getString (line 328) | public String getString(int index) throws JSONException { method isNull (line 343) | public boolean isNull(int index) { method join (line 358) | public String join(String separator) throws JSONException { method length (line 376) | public int length() { method opt (line 387) | public Object opt(int index) { method optBoolean (line 401) | public boolean optBoolean(int index) { method optBoolean (line 416) | public boolean optBoolean(int index, boolean defaultValue) { method optDouble (line 433) | public double optDouble(int index) { method optDouble (line 448) | public double optDouble(int index, double defaultValue) { method optInt (line 465) | public int optInt(int index) { method optInt (line 480) | public int optInt(int index, int defaultValue) { method optJSONArray (line 496) | public JSONArray optJSONArray(int index) { method optJSONObject (line 510) | public JSONObject optJSONObject(int index) { method optLong (line 524) | public long optLong(int index) { method optLong (line 539) | public long optLong(int index, long defaultValue) { method optString (line 556) | public String optString(int index) { method optString (line 570) | public String optString(int index, String defaultValue) { method put (line 583) | public JSONArray put(boolean value) { method put (line 596) | public JSONArray put(Collection value) { method put (line 610) | public JSONArray put(double value) throws JSONException { method put (line 624) | public JSONArray put(int value) { method put (line 636) | public JSONArray put(long value) { method put (line 649) | public JSONArray put(Map value) { method put (line 663) | public JSONArray put(Object value) { method put (line 681) | public JSONArray put(int index, boolean value) throws JSONException { method put (line 698) | public JSONArray put(int index, Collection value) throws JSONException { method put (line 716) | public JSONArray put(int index, double value) throws JSONException { method put (line 734) | public JSONArray put(int index, int value) throws JSONException { method put (line 752) | public JSONArray put(int index, long value) throws JSONException { method put (line 770) | public JSONArray put(int index, Map value) throws JSONException { method put (line 791) | public JSONArray put(int index, Object value) throws JSONException { method remove (line 815) | public Object remove(int index) { method toJSONObject (line 833) | public JSONObject toJSONObject(JSONArray names) throws JSONException { method toString (line 855) | public String toString() { method toString (line 875) | public String toString(int indentFactor) throws JSONException { method write (line 891) | public Writer write(Writer writer) throws JSONException { method write (line 908) | Writer write(Writer writer, int indentFactor, int indent) FILE: src/org/json/JSONException.java class JSONException (line 9) | public class JSONException extends RuntimeException { method JSONException (line 19) | public JSONException(String message) { method JSONException (line 26) | public JSONException(Throwable cause) { method getCause (line 38) | public Throwable getCause() { FILE: src/org/json/JSONObject.java class JSONObject (line 95) | public class JSONObject { class Null (line 101) | private static final class Null { method equals (line 111) | public boolean equals(Object object) { method toString (line 120) | public String toString() { method JSONObject (line 141) | public JSONObject() { method JSONObject (line 159) | public JSONObject(JSONObject jo, String[] names) { method JSONObject (line 178) | public JSONObject(JSONTokener x) throws JSONException { method JSONObject (line 232) | public JSONObject(Map map) { method JSONObject (line 267) | public JSONObject(Object bean) { method JSONObject (line 286) | public JSONObject(Object object, String names[]) { method JSONObject (line 310) | public JSONObject(String source) throws JSONException { method JSONObject (line 324) | public JSONObject(String baseName, Locale locale) throws JSONException { method accumulate (line 376) | public JSONObject accumulate(String key, Object value) throws JSONExce... method append (line 406) | public JSONObject append(String key, Object value) throws JSONException { method doubleToString (line 428) | public static String doubleToString(double d) { method get (line 457) | public Object get(String key) throws JSONException { method getBoolean (line 478) | public boolean getBoolean(String key) throws JSONException { method getDouble (line 503) | public double getDouble(String key) throws JSONException { method getInt (line 524) | public int getInt(String key) throws JSONException { method getJSONArray (line 544) | public JSONArray getJSONArray(String key) throws JSONException { method getJSONObject (line 562) | public JSONObject getJSONObject(String key) throws JSONException { method getLong (line 581) | public long getLong(String key) throws JSONException { method getNames (line 597) | public static String[] getNames(JSONObject jo) { method getNames (line 617) | public static String[] getNames(Object object) { method getString (line 643) | public String getString(String key) throws JSONException { method has (line 658) | public boolean has(String key) { method increment (line 674) | public JSONObject increment(String key) throws JSONException { method isNull (line 701) | public boolean isNull(String key) { method keys (line 710) | public Iterator keys() { method keySet (line 719) | public Set keySet() { method length (line 728) | public int length() { method names (line 739) | public JSONArray names() { method numberToString (line 757) | public static String numberToString(Number number) throws JSONException { method opt (line 785) | public Object opt(String key) { method optBoolean (line 797) | public boolean optBoolean(String key) { method optBoolean (line 812) | public boolean optBoolean(String key, boolean defaultValue) { method optDouble (line 829) | public double optDouble(String key) { method optDouble (line 844) | public double optDouble(String key, double defaultValue) { method optInt (line 861) | public int optInt(String key) { method optInt (line 876) | public int optInt(String key, int defaultValue) { method optJSONArray (line 892) | public JSONArray optJSONArray(String key) { method optJSONObject (line 905) | public JSONObject optJSONObject(String key) { method optLong (line 919) | public long optLong(String key) { method optLong (line 934) | public long optLong(String key, long defaultValue) { method optString (line 951) | public String optString(String key) { method optString (line 965) | public String optString(String key, String defaultValue) { method populateMap (line 970) | private void populateMap(Object bean) { method put (line 1027) | public JSONObject put(String key, boolean value) throws JSONException { method put (line 1043) | public JSONObject put(String key, Collection value) throws JSONExcepti... method put (line 1059) | public JSONObject put(String key, double value) throws JSONException { method put (line 1075) | public JSONObject put(String key, int value) throws JSONException { method put (line 1091) | public JSONObject put(String key, long value) throws JSONException { method put (line 1107) | public JSONObject put(String key, Map value) throws JSONException { method put (line 1126) | public JSONObject put(String key, Object value) throws JSONException { method putOnce (line 1150) | public JSONObject putOnce(String key, Object value) throws JSONExcepti... method putOpt (line 1174) | public JSONObject putOpt(String key, Object value) throws JSONException { method quote (line 1191) | public static String quote(String string) { method quote (line 1203) | public static Writer quote(String string, Writer w) throws IOException { method remove (line 1270) | public Object remove(String key) { method stringToValue (line 1282) | public static Object stringToValue(String string) { method testValidity (line 1335) | public static void testValidity(Object o) throws JSONException { method toJSONArray (line 1362) | public JSONArray toJSONArray(JSONArray names) throws JSONException { method toString (line 1385) | public String toString() { method toString (line 1407) | public String toString(int indentFactor) throws JSONException { method valueToString (line 1438) | public static String valueToString(Object value) throws JSONException { method wrap (line 1485) | public static Object wrap(Object object) { method write (line 1532) | public Writer write(Writer writer) throws JSONException { method writeValue (line 1536) | static final Writer writeValue(Writer writer, Object value, method indent (line 1569) | static final void indent(Writer writer, int indent) throws IOException { method write (line 1584) | Writer write(Writer writer, int indentFactor, int indent) method equals (line 1632) | @Override FILE: src/org/json/JSONString.java type JSONString (line 10) | public interface JSONString { method toJSONString (line 17) | String toJSONString(); FILE: src/org/json/JSONTokener.java class JSONTokener (line 41) | public class JSONTokener { method JSONTokener (line 57) | public JSONTokener(Reader reader) { method JSONTokener (line 73) | public JSONTokener(InputStream inputStream) throws JSONException { method JSONTokener (line 83) | public JSONTokener(String s) { method back (line 93) | public void back() throws JSONException { method dehexchar (line 110) | public static int dehexchar(char c) { method end (line 123) | public boolean end() { method more (line 133) | public boolean more() throws JSONException { method next (line 148) | public char next() throws JSONException { method next (line 187) | public char next(char c) throws JSONException { method next (line 206) | public String next(int n) throws JSONException { method nextClean (line 230) | public char nextClean() throws JSONException { method nextString (line 251) | public String nextString(char quote) throws JSONException { method nextTo (line 308) | public String nextTo(char delimiter) throws JSONException { method nextTo (line 329) | public String nextTo(String delimiters) throws JSONException { method nextValue (line 353) | public Object nextValue() throws JSONException { method skipTo (line 400) | public char skipTo(char to) throws JSONException { method syntaxError (line 432) | public JSONException syntaxError(String message) { method toString (line 442) | public String toString() { FILE: tests/com/hueemulator/emulator/HttpTester.java class HttpTester (line 12) | public class HttpTester { method doGet (line 15) | public String doGet(String url) { method doPutOrPost (line 53) | public String doPutOrPost(String url, String jsonString, String reques... method doDelete (line 98) | public String doDelete(String url) { FILE: tests/com/hueemulator/emulator/TestEmulator.java class TestEmulator (line 12) | public class TestEmulator { method getInstance (line 24) | public static TestEmulator getInstance() { method startEmulator (line 33) | public void startEmulator() throws IOException { method reloadInitialConfig (line 60) | public void reloadInitialConfig() { method isServerRunning (line 66) | public boolean isServerRunning() { method setServerRunning (line 70) | public void setServerRunning(boolean isServerRunning) { method getEmulator (line 76) | public Emulator getEmulator() { method setEmulator (line 81) | public void setEmulator(Emulator emulator) { method getModel (line 85) | public Model getModel() { method setModel (line 89) | public void setModel(Model model) { FILE: tests/com/hueemulator/lighting/utils/TestUtils.java class TestUtils (line 51) | public class TestUtils { method loadTestFixture (line 61) | public static String loadTestFixture(String path) throws IOException { method jsonsEqual (line 78) | public static boolean jsonsEqual(String json1, String json2) throws Ex... method jsonsArrayEqual (line 91) | public static boolean jsonsArrayEqual(String json1, String json2) thro... method xmlsEqual (line 106) | public static boolean xmlsEqual(String xml1, String xml2) throws Excep... method convertJsonElement (line 130) | @SuppressWarnings("unchecked") method getChildSet (line 161) | private static Set getChildSet(Node node, String basePath) { method getDateSecondsInFuture (line 174) | public static String getDateSecondsInFuture(int noSeconds) { FILE: tests/com/hueemulator/server/handlers/TestConfigurationAPI.java class TestConfigurationAPI (line 15) | public class TestConfigurationAPI extends TestCase { method setUp (line 23) | @Before method testBadJSON (line 37) | public void testBadJSON() throws Exception { method testCreateUserAPI_4_1 (line 47) | @Test method testRandomUsernames (line 60) | @Test FILE: tests/com/hueemulator/server/handlers/TestGroupsAPI.java class TestGroupsAPI (line 16) | public class TestGroupsAPI extends TestCase { method setUp (line 25) | @Before method testGroupsAPI_2_1 (line 39) | @Test method testGroupsAPI_2_2 (line 52) | @Test method testGroupsAPI_2_3 (line 67) | @Test method testGroupsAPI_2_4 (line 79) | @Test method testGroupsAPI_2_5 (line 92) | @Test method testGroupsAPI_2_6 (line 105) | @Test FILE: tests/com/hueemulator/server/handlers/TestLightsAPI.java class TestLightsAPI (line 16) | public class TestLightsAPI extends TestCase { method setUp (line 24) | @Before method testLightsAPI_1_1 (line 38) | @Test method testLightsAPI_1_4 (line 51) | @Test method testLightsAPI_1_5 (line 74) | @Test method testLightsAPI_1_6 (line 94) | @Test FILE: tests/com/hueemulator/server/handlers/TestSchedulesAPI.java class TestSchedulesAPI (line 16) | public class TestSchedulesAPI extends TestCase { method setUp (line 24) | @Before method testSchedulesAPI_3_1 (line 38) | @Test method testSchedulesAPI_3_2 (line 52) | @Test method testSchedulesAPI_3_3 (line 97) | @Test method testSchedulesAPI_3_4 (line 109) | @Test method testSchedulesAPI_3_5 (line 129) | @Test