You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
576 B
27 lines
576 B
package com.fr.design.os.impl; |
|
|
|
import com.fr.general.os.SupportOS; |
|
import com.fr.stable.os.Arch; |
|
import com.fr.stable.os.OperatingSystem; |
|
|
|
public enum SupportOSImpl implements SupportOS { |
|
//登录 |
|
USERINFOPANE{ |
|
public boolean support(){ |
|
return Arch.getArch() != Arch.ARM; |
|
} |
|
}, |
|
//透明度 |
|
OPACITY{ |
|
public boolean support(){ |
|
return !OperatingSystem.isLinux(); |
|
} |
|
}, |
|
//FineUI选项 |
|
FINEUI{ |
|
public boolean support(){ |
|
return !OperatingSystem.isLinux(); |
|
} |
|
} |
|
|
|
}
|
|
|