Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SteveyO/Hue-Emulator
/ functions
Functions
476 in github.com/SteveyO/Hue-Emulator
⨍
Functions
476
◇
Types & classes
53
↓ 1 callers
Method
getInt
Get the int value associated with an index. @param index The index must be between 0 and length() - 1. @return The value. @throws JSONExce
src/org/json/JSONArray.java:253
↓ 1 callers
Method
getInt
Get the int value associated with a key. @param key A key string. @return The integer value. @throws JSONException if the key
src/org/json/JSONObject.java:524
↓ 1 callers
Method
getIpaddress
()
src/com/hueemulator/model/PHConfig.java:109
↓ 1 callers
Method
getJSONObject
Get the JSONObject associated with an index. @param index subscript @return A JSONObject value. @throws JSONException If there
src/org/json/JSONArray.java:291
↓ 1 callers
Method
getLightAttributes_1_4
(ObjectMapper mapper, PHBridgeConfiguration bridgeConfiguration, OutputStream responseBody, Controller control
src/com/hueemulator/server/handlers/LightsAPI.java:55
↓ 1 callers
Method
getLightState
()
src/com/hueemulator/model/PHGroupsEntry.java:30
↓ 1 callers
Method
getLoadConfigMenuItem
()
src/com/hueemulator/gui/HueMenuBar.java:317
↓ 1 callers
Method
getLong
Get the long value associated with an index. @param index The index must be between 0 and length() - 1. @return The value. @throws JSONExc
src/org/json/JSONArray.java:309
↓ 1 callers
Method
getLong
Get the long value associated with a key. @param key A key string. @return The long value. @throws JSONException if the key is
src/org/json/JSONObject.java:581
↓ 1 callers
Method
getMac
()
src/com/hueemulator/model/PHConfig.java:79
↓ 1 callers
Method
getMethod
()
src/com/hueemulator/model/PHCommand.java:36
↓ 1 callers
Method
getName
()
src/com/hueemulator/model/PHScenesEntry.java:19
↓ 1 callers
Method
getName
()
src/com/hueemulator/model/PHConfig.java:149
↓ 1 callers
Method
getName
()
src/com/hueemulator/model/PHGroupsEntry.java:20
↓ 1 callers
Method
getName
()
src/com/hueemulator/model/PHSchedulesEntry.java:41
↓ 1 callers
Method
getPointsymbol
()
src/com/hueemulator/model/PHLight.java:95
↓ 1 callers
Method
getSaveConfigMenuItem
()
src/com/hueemulator/gui/HueMenuBar.java:325
↓ 1 callers
Method
getScheduleAttributes_3_3
(ObjectMapper mapper, PHBridgeConfiguration bridgeConfiguration, OutputStream responseBody, Controller control
src/com/hueemulator/server/handlers/SchedulesAPI.java:198
↓ 1 callers
Method
getSwversion
()
src/com/hueemulator/model/PHLight.java:75
↓ 1 callers
Method
getSwversion
()
src/com/hueemulator/model/PHConfig.java:89
↓ 1 callers
Method
getUniqueid
()
src/com/hueemulator/model/PHLight.java:113
↓ 1 callers
Method
getUtc
()
src/com/hueemulator/model/PHConfig.java:169
↓ 1 callers
Method
green
Return the green component of a color int. This is the same as saying (color >> 8) & 0xFF
src/com/hueemulator/utils/HueColor.java:52
↓ 1 callers
Method
handleDelete
(ObjectMapper mapper, OutputStream responseBody, String[] urlElements)
src/com/hueemulator/server/MyApiHandler.java:213
↓ 1 callers
Method
handleGet
(ObjectMapper mapper, String url, OutputStream responseBody, String[] urlElements)
src/com/hueemulator/server/MyApiHandler.java:175
↓ 1 callers
Method
handlePost
(ObjectMapper mapper, String url, OutputStream responseBody, String jSONString, String[] urlElements)
src/com/hueemulator/server/MyApiHandler.java:159
↓ 1 callers
Method
handlePut
(ObjectMapper mapper, String url, OutputStream responseBody, String jSONString, String[] urlElements)
src/com/hueemulator/server/MyApiHandler.java:127
↓ 1 callers
Method
has
Determine if the JSONObject contains a specific key. @param key A key string. @return true if the key exists in the JSONObject.
src/org/json/JSONObject.java:658
↓ 1 callers
Method
isDateValid
This method is used by the Schedules API. Its purpose is twofold. Firstly to check the date is in the correct format, and secondly to check the date
src/com/hueemulator/utils/Utils.java:47
↓ 1 callers
Method
isJSONValid
Method checks if valid json (as name suggests). This is called before every http call to check the user has passed valid json. @param test @return
src/com/hueemulator/utils/Utils.java:125
↓ 1 callers
Method
isShowConsoleTime
()
src/com/hueemulator/emulator/Model.java:19
↓ 1 callers
Method
isShowFullConfig
()
src/com/hueemulator/emulator/Model.java:23
↓ 1 callers
Method
isShowRequestJSON
()
src/com/hueemulator/emulator/Model.java:39
↓ 1 callers
Method
isShowResponseJSON
()
src/com/hueemulator/emulator/Model.java:47
↓ 1 callers
Method
isValidUserName
(PHBridgeConfiguration bridgeConfiguration, OutputStream responseBody, String[] urlElements)
src/com/hueemulator/server/handlers/ConfigurationAPI.java:172
↓ 1 callers
Method
keySet
Get a set of keys of the JSONObject. @return A keySet.
src/org/json/JSONObject.java:719
↓ 1 callers
Method
loadDescriptionFile
(String fileName)
src/com/hueemulator/utils/Utils.java:138
↓ 1 callers
Method
nextString
Return the characters up to the next close quote character. Backslash processing is done. The formal JSON format does not allow strings in single quot
src/org/json/JSONTokener.java:251
↓ 1 callers
Method
optJSONObject
Get the optional JSONObject associated with an index. Null is returned if the key is not found, or null if the index has no value, or if the value is
src/org/json/JSONArray.java:510
↓ 1 callers
Method
populateMap
(Object bean)
src/org/json/JSONObject.java:970
↓ 1 callers
Method
red
Return the red component of a color int. This is the same as saying (color >> 16) & 0xFF
src/com/hueemulator/utils/HueColor.java:44
↓ 1 callers
Method
remove
Remove a name and its value, if present. @param key The name to be removed. @return The value that was associated with the name, or null i
src/org/json/JSONObject.java:1270
↓ 1 callers
Method
removeDuplicates
(JSONArray originalArray, boolean removeErrors)
src/com/hueemulator/server/handlers/GroupsAPI.java:317
↓ 1 callers
Method
returnNonAuthenticatedConfig
(PHBridgeConfiguration bridgeConfiguration, OutputStream responseBody)
src/com/hueemulator/server/handlers/ConfigurationAPI.java:207
↓ 1 callers
Method
serializeLightState
(PHLightState state)
src/com/hueemulator/model/PHLightState.java:165
↓ 1 callers
Method
setBri
(Integer bri)
src/com/hueemulator/model/PHLightState.java:69
↓ 1 callers
Method
setBridgeConfiguration
(PHBridgeConfiguration bridgeConfiguration)
src/com/hueemulator/emulator/Model.java:35
↓ 1 callers
Method
setColormode
(String colormode)
src/com/hueemulator/model/PHLightState.java:130
↓ 1 callers
Method
setCommandJSON
(JSONObject commandJSON)
src/com/hueemulator/emulator/PHScheduleTimer.java:24
↓ 1 callers
Method
setCreateDate
(String createDate)
src/com/hueemulator/model/PHWhitelistEntry.java:31
↓ 1 callers
Method
setGroupAttributes_2_4
(ObjectMapper mapper, String jSONString, PHBridgeConfiguration bridgeConfiguration, OutputStream responseBody,
src/com/hueemulator/server/handlers/GroupsAPI.java:159
↓ 1 callers
Method
setGroupState_2_5
(ObjectMapper mapper, String jSONString, PHBridgeConfiguration bridgeConfiguration, OutputStream responseBody,
src/com/hueemulator/server/handlers/GroupsAPI.java:240
↓ 1 callers
Method
setIPAddress
When the emulator starts we should update the Bridge Config with the IP Address and PORT this Emulator is running on. This is needed as JSON responses
src/com/hueemulator/emulator/Controller.java:249
↓ 1 callers
Method
setIdentifier
(String identifier)
src/com/hueemulator/model/PHLight.java:109
↓ 1 callers
Method
setIpaddress
(String ipaddress)
src/com/hueemulator/model/PHConfig.java:114
↓ 1 callers
Method
setLightState_1_6
(ObjectMapper mapper, String jSONString, PHBridgeConfiguration bridgeConfiguration, OutputStream responseBody,
src/com/hueemulator/server/handlers/LightsAPI.java:169
↓ 1 callers
Method
setLights
(List<String> lights)
src/com/hueemulator/model/PHScenesEntry.java:34
↓ 1 callers
Method
setMethod
(String method)
src/com/hueemulator/model/PHCommand.java:41
↓ 1 callers
Method
setModel
(Model model)
src/com/hueemulator/emulator/Controller.java:267
↓ 1 callers
Method
setModel
(Model model)
tests/com/hueemulator/emulator/TestEmulator.java:89
↓ 1 callers
Method
setName
(String name)
src/com/hueemulator/model/PHScenesEntry.java:24
↓ 1 callers
Method
setName
(String name)
src/com/hueemulator/model/PHWhitelistEntry.java:41
↓ 1 callers
Method
setOn
(Boolean on)
src/com/hueemulator/model/PHLightState.java:140
↓ 1 callers
Method
setPointsymbol
(Map<String, String> pointsymbol)
src/com/hueemulator/model/PHLight.java:100
↓ 1 callers
Method
setScheduleAttributes_3_4
(ObjectMapper mapper, String jSONString, PHBridgeConfiguration bridgeConfiguration, OutputStream responseBody,
src/com/hueemulator/server/handlers/SchedulesAPI.java:214
↓ 1 callers
Method
setScheduleIdentifier
(String scheduleIdentifier)
src/com/hueemulator/emulator/PHScheduleTimer.java:16
↓ 1 callers
Method
setServer
(Server server)
src/com/hueemulator/emulator/Emulator.java:100
↓ 1 callers
Method
setShowFullConfigJSON
(boolean showFullConfigJSON)
src/com/hueemulator/emulator/Model.java:55
↓ 1 callers
Method
setShowFullConfigJson
(boolean showFullConfigJSON)
src/com/hueemulator/emulator/Controller.java:413
↓ 1 callers
Method
setShowRequestJSON
(boolean showRequestJSON)
src/com/hueemulator/emulator/Model.java:43
↓ 1 callers
Method
setShowRequestJson
(boolean showRequestJSON)
src/com/hueemulator/emulator/Controller.java:401
↓ 1 callers
Method
setShowResponseJSON
(boolean showResponseJSON)
src/com/hueemulator/emulator/Model.java:51
↓ 1 callers
Method
setShowResponseJson
(boolean showResponseJSON)
src/com/hueemulator/emulator/Controller.java:409
↓ 1 callers
Method
setSwversion
(String swversion)
src/com/hueemulator/model/PHLight.java:80
↓ 1 callers
Method
setUniqueid
(String uniqueid)
src/com/hueemulator/model/PHLight.java:117
↓ 1 callers
Method
setXy
(List<Double> xy)
src/com/hueemulator/model/PHLightState.java:160
↓ 1 callers
Method
setXy
(List<Double> xy)
src/com/hueemulator/model/PHBody.java:61
↓ 1 callers
Method
showBridgeInfo
(Graphics2D g2, Model model)
src/com/hueemulator/gui/GraphicsPanel.java:203
↓ 1 callers
Method
showBulbInfo
(Graphics2D g2, PHLight light, PHLightState state, int bulbClicked)
src/com/hueemulator/gui/GraphicsPanel.java:232
↓ 1 callers
Method
showRequestJson
()
src/com/hueemulator/emulator/Controller.java:397
↓ 1 callers
Method
startServers
()
src/com/hueemulator/emulator/Emulator.java:39
↓ 1 callers
Method
startUPNPServer
()
src/com/hueemulator/server/UPNPServer.java:73
↓ 1 callers
Method
stopServer
()
src/com/hueemulator/emulator/Emulator.java:62
↓ 1 callers
Method
stopUPNPServer
()
src/com/hueemulator/server/UPNPServer.java:78
↓ 1 callers
Method
storeSchedule
(String scheduleIdentifier, PHScheduleTimer schTimer)
src/com/hueemulator/emulator/PHScheduleTimerManager.java:29
↓ 1 callers
Method
stringToDate
(String dateString)
src/com/hueemulator/utils/Utils.java:67
↓ 1 callers
Method
stringToValue
Try to convert a string into a number, boolean, or null. If the string can't be converted, return the string. @param string A String. @ret
src/org/json/JSONObject.java:1282
↓ 1 callers
Method
valueToString
Make a JSON text of an Object value. If the object has an value.toJSONString() method, then that method will be used to produce the JSON text. The met
src/org/json/JSONObject.java:1438
Method
About
()
src/com/hueemulator/gui/About.java:13
Method
Controller
(Model model, View view, String fileName)
src/com/hueemulator/emulator/Controller.java:57
Method
Emulator
(Controller controller, String fileName)
src/com/hueemulator/emulator/Emulator.java:28
Method
GraphicsPanel
(String size)
src/com/hueemulator/gui/GraphicsPanel.java:60
Method
Help
()
src/com/hueemulator/gui/Help.java:10
Method
HueEmulator
(String fileName)
src/com/hueemulator/emulator/HueEmulator.java:11
Method
HueMenuBar
()
src/com/hueemulator/gui/HueMenuBar.java:39
Method
JSONArray
Construct an empty JSONArray.
src/org/json/JSONArray.java:90
Method
JSONException
Constructs a JSONException with an explanatory message. @param message Detail about the reason for the exception.
src/org/json/JSONException.java:19
Method
JSONObject
Construct an empty JSONObject.
src/org/json/JSONObject.java:141
Method
JSONTokener
Construct a JSONTokener from a Reader. @param reader A reader.
src/org/json/JSONTokener.java:57
Method
LightsFrame
(Controller controller, String size)
src/com/hueemulator/gui/LightsFrame.java:19
← previous
next →
201–300 of 476, ranked by callers