com.altair.hwm.toolkit.page
Class HWMDsgnPageMgrModel

java.lang.Object
  extended by com.altair.hwm.toolkit.page.HWMPageMgrModel
      extended by com.altair.hwm.toolkit.page.HWMDsgnPageMgrModel

public class HWMDsgnPageMgrModel
extends HWMPageMgrModel

Title: HWMDsgnPageMgrModel

Description: This is page mgr model in designer mode. It inherits form the more generic pg mgr model

Company: Altair Engineering, Inc.


Field Summary
 
Fields inherited from class com.altair.hwm.toolkit.page.HWMPageMgrModel
PROP_PGMGR_CURRPG, VERSION_PRJ
 
Constructor Summary
HWMDsgnPageMgrModel(HWMModelInstance hwmModelInstance)
          Constructor
 
Method Summary
 HWMPage AddPage()
          Inserts a new blank page.
 HWMPage DeleteCurrentPage()
          Delete the current page from the vector; remove the page component from the panel and set the current page to the first in the vector of pages
 void ExportPage(java.io.ObjectOutputStream objOut)
          Export the current page onto the given filename
 HWMPage ImportPage(HWMObjectInputStream objInp)
          Import the page that has been saved as the given file
 boolean IsControlsEnabled()
          Returns the status of the controls
 void SetControlsEnabled(boolean bEnable)
          Enables/disables controls on all pages
 
Methods inherited from class com.altair.hwm.toolkit.page.HWMPageMgrModel
addPropertyChangeListener, AddToolkitEventListener, ClearAll, copyControl, copyControl, cutControl, deleteAllBean, deleteBean, deselectAllContorls, ExportPageTCL, getBeanClipBoardMgr, GetBeanObject, GetBeanPropertyValue, GetCurrentPage, GetHWMBeanInfo, GetPageByID, GetPageByName, GetPageCount, GetPages, InitBeans, LoadProject, NextPage, OnCopyBean, OnCutBean, OnMigrateProject, OnPasteBean, pasteControl, PrevPage, ReadVersion1_0, removePropertyChangeListener, RemoveToolkitEventListener, SaveProject, selectAllControls, SetCurrentPage, SetCurrentPage, SetCurrentPage, SetCurrentPage
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HWMDsgnPageMgrModel

public HWMDsgnPageMgrModel(HWMModelInstance hwmModelInstance)
Constructor

Parameters:
iFrameWork - The framework interface
Method Detail

AddPage

public HWMPage AddPage()
Inserts a new blank page.


DeleteCurrentPage

public HWMPage DeleteCurrentPage()
Delete the current page from the vector; remove the page component from the panel and set the current page to the first in the vector of pages

Returns:
HWMPage The page that is deleted

ExportPage

public void ExportPage(java.io.ObjectOutputStream objOut)
                throws java.lang.Exception
Export the current page onto the given filename

Parameters:
objOutput - The stream to export the current page
Throws:
java.lang.Exception

ImportPage

public HWMPage ImportPage(HWMObjectInputStream objInp)
                   throws java.lang.Exception
Import the page that has been saved as the given file

Parameters:
strFilename - The file to import
Returns:
The HWMPage instance that was created
Throws:
java.lang.Exception

SetControlsEnabled

public void SetControlsEnabled(boolean bEnable)
Enables/disables controls on all pages


IsControlsEnabled

public boolean IsControlsEnabled()
Returns the status of the controls

Returns:
boolean True if enabled, false if not