public class TimeLineViewModel
extends yartiss.framework.viewmodel.AbstractViewModel
Constructor and Description |
---|
TimeLineViewModel() |
public yartiss.framework.view.IView getView()
getView
in class yartiss.framework.viewmodel.AbstractViewModel
public void setView(yartiss.framework.view.AbstractView view)
view
- the view to setpublic IEventsModel getEventsModel()
public void setEventsModel(IEventsModel model)
public int getDuration()
public void setDuration(int duration)
duration
- the duration to setpublic String getState()
public void setState(String state)
state
- the state to setpublic double getAverageIdlePeriod()
public void setAverageIdlePeriod(double averageIdlePeriod)
averageIdlePeriod
- the averageIdlePeriod to setpublic double getAverageBusyPeriod()
public void setAverageBusyPeriod(double averageBusyPeriod)
averageBusyPeriod
- the averageBusyPeriod to setpublic double getTimeAtEmax()
public void setTimeAtEmax(double timeAtEmax)
timeAtEmax
- the timeAtEmax to setpublic double getTimeAtTmin()
public void setTimeAtTmin(double timeAtTmin)
timeAtTmin
- the timeAtTmin to setpublic double getEnd()
public void setEnd(double end)
end
- the end to setpublic int getE0()
public void setE0(int e0)
e0
- the e0 to setpublic int getEmax()
public void setEmax(int emax)
emax
- the emax to setpublic int getEmin()
public void setEmin(int emin)
emin
- the emin to setpublic int getPr()
public void setPr(int pr)
pr
- the pr to setpublic int getCount()
public void setCount(int count)
count
- the count to setpublic long getBusyPeriod()
public void setBusyPeriod(long bp)
bp
- the busyPeriod to setpublic long getHyperPeriod()
public void setHyperPeriod(long hp)
hp
- the hyperPeriod to setpublic double getUtilization()
public void setUtilization(double utilization)
utilization
- the utilization to setpublic double getEnergyUtilization()
public void setEnergyUtilization(double energyUtilization)
energyUtilization
- the energyUtilization to setpublic String[] getAvailablePolicies()
public String[] getAvailibaleConsumptionProfiles()
public String getPolicyParameters()
public void setPolicyParameters(String policyParameters)
policyParameters
- the policyParameters to setpublic int getNbProc()
public void setNbProc(int nbProc)
nbProc
- the nbProc to setpublic String getSelectedPolicyName()
public void setSelectedPolicyName(String selectedPolicyName)
selectedPolicyName
- the selectedPolicyName to setpublic String getSelectedConsumptionProfile()
public void setSelectedConsumptionProfile(String selectedConsumptionProfile)
selectedPolicyName
- the selectedPolicyName to setpublic TasksTableModel getTasksModel()
public ActionListener getGenerateCommand()
public ActionListener getStartSimulationCommand()
public boolean getIsContentChanged()
public void setIsContentChanged(boolean isContentChanged)
isContentChanged
- the isContentChanged to setpublic boolean getIsGlobalConsumption()
public void setIsGlobalConsumption(boolean isGlobalConsumption)
isGlobalConsumption
- the isGlobalConsumption to setpublic boolean getIsEnergyAware()
public void setIsEnergyAware(boolean isEnergyAware)
isEnergyAware
- the isEnergyAware to setpublic ActionListener getLoadCommand()
public ActionListener getSaveCommand()
Copyright © 2012. All Rights Reserved.