IconDefinition.java
838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.cq.mobile.platform.impl.store;
import java.awt.Dimension;
public class IconDefinition {
private final String name;
private final Dimension size;
private final String density;
public IconDefinition(String name, String size, String density) {
this.name = name;
int sizeInt = Integer.parseInt(size);
this.size = new Dimension(sizeInt, sizeInt);
this.density = density;
}
public IconDefinition(String name, String size) {
this(name, size, null);
}
public String getName() {
if (this.name != null) {
return this.name;
}
return "";
}
public Dimension getSize() {
return this.size;
}
public String getDensity() {
return this.density;
}
}