in mustella/src/main/java/marmotinni/DispatchMouseEvent.java [211:239]
public void populateFromAttributes(Attributes attributes)
{
target = attributes.getValue("target");
type = attributes.getValue("type");
String value = attributes.getValue("localX");
if (value != null)
{
localX = Double.parseDouble(value);
hasLocal = true;
}
value = attributes.getValue("localY");
if (value != null)
{
localY = Double.parseDouble(value);
hasLocal = true;
}
value = attributes.getValue("stageX");
if (value != null)
{
stageX = Double.parseDouble(value);
hasStage = true;
}
value = attributes.getValue("stageY");
if (value != null)
{
stageY = Double.parseDouble(value);
hasStage = true;
}
}