blob: e30b3942d79f8dfd571e778ca75ed6be160736cc (
plain)
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
|
package net.miz_hi.smileessence.command.post;
import net.miz_hi.smileessence.command.MenuCommand;
import net.miz_hi.smileessence.system.PostSystem;
import net.miz_hi.smileessence.util.Morse;
public class CommandParseMorse extends MenuCommand
{
public CommandParseMorse()
{
}
@Override
public String getName()
{
return "モールスに変換";
}
@Override
public void workOnUiThread()
{
String newStr = Morse.jaToMc(PostSystem.getState().getText());
PostSystem.setText(newStr);
PostSystem.openPostPage();
}
}
|