com.jk.application.api.Application Maven / Gradle / Ivy
The newest version!
/*
* Copyright 2002-2016 Jalal Kiswani.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.jk.application.api;
import java.util.List;
import com.jk.application.listener.ApplicationListener;
import com.jk.application.ui.UIApplicationFrame;
import com.jk.locale.JKLocale;
/**
* The Interface Application.
*
* @author Jalal Kiswani
*/
public interface Application {
/**
* Gets the splash image.
*
* @return the splash image
*/
public String getSplashImage();
/**
* Inits the.
*/
public void init();
/**
* Sets the application name.
*
* @param text
* the new application name
*/
public void setApplicationName(String text);
/**
* Sets the application id.
*
* @param parseInt
* the new application id
*/
public void setApplicationId(int parseInt);
/**
* Sets the auto logout interval.
*
* @param integer
* the new auto logout interval
*/
public void setSessionTimeout(Integer integer);
/**
* Adds the listener.
*
* @param listener
* the listener
*/
public void addListener(ApplicationListener listener);
/**
* Sets the modules.
*
* @param modules
* the new modules
*/
public void setModules(List modules);
/**
* Gets the application frame.
*
* @return the application frame
*/
public UIApplicationFrame getApplicationFrame();
/**
* Gets the application listeners.
*
* @return the application listeners
*/
public List getApplicationListeners();
/**
* Gets the application name.
*
* @return the application name
*/
public String getApplicationName();
/**
* Sets the application frame.
*
* @param applicationFrame
* the new application frame
*/
public void setApplicationFrame(UIApplicationFrame applicationFrame);
/**
* Find menu item.
*
* @param menuItemName
* the menu item name
* @return the menu item
*/
public MenuItem findMenuItem(String menuItemName);
/**
* Gets the modules.
*
* @return the modules
*/
public List getModules();
/**
* Gets the default module.
*
* @return the default module
*/
public Module getDefaultModule();
public void setConfigFileName(String text);
public void setSplashImage(String text);
public void setViewModules(boolean parseBoolean);
public void setHomeImage(String text);
public void setBackgroundImage(String text);
public void setLocale(String text, boolean b);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy