Package kiyut.citra.registration
Class RegistrationManager
- java.lang.Object
-
- kiyut.citra.registration.RegistrationManager
-
public final class RegistrationManager extends Object
Registration Manager- Author:
- Kiyut
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchecked()intelapsedChecked()intelapsedDay()static RegistrationManagergetInstance()Returns the single instance, creating one if it's the first time this method is called.booleanisRegistered()BufferedImagepaintUnregisteredImage(BufferedImage image)booleanregister(String name, String serialNo)Return true if registration success, otherwise falsevoidshowBetaNotice(Frame frame)voidshowReminder(Frame frame)voidunRegister()
-
-
-
Method Detail
-
getInstance
public static RegistrationManager getInstance()
Returns the single instance, creating one if it's the first time this method is called.- Returns:
- RegistrationManager The single instance.
-
isRegistered
public boolean isRegistered()
-
register
public boolean register(String name, String serialNo)
Return true if registration success, otherwise false- Parameters:
name- the Registered NameserialNo- the Serial No- Returns:
- true if registration success, otherwise false
-
unRegister
public void unRegister()
-
showReminder
public void showReminder(Frame frame)
-
showBetaNotice
public void showBetaNotice(Frame frame)
-
paintUnregisteredImage
public BufferedImage paintUnregisteredImage(BufferedImage image)
-
elapsedDay
public int elapsedDay()
-
elapsedChecked
public int elapsedChecked()
-
checked
public void checked()
-
-