GUIParameterTableWindow.cpp File Reference


Detailed Description

Author:
Daniel Krajzewicz
Date:
Sept 2002
Version:
Id
GUIParameterTableWindow.cpp 8459 2010-03-17 22:02:19Z behrisch

Definition in file GUIParameterTableWindow.cpp.

#include <config.h>
#include <string>
#include <fx.h>
#include "GUIParameterTableWindow.h"
#include <utils/gui/globjects/GUIGlObject.h>
#include <utils/common/ToString.h>
#include <utils/gui/div/GUIParam_PopupMenu.h>
#include <utils/gui/windows/GUIAppEnum.h>
#include <utils/gui/windows/GUIMainWindow.h>
#include <utils/gui/images/GUIIconSubSys.h>
#include <utils/gui/div/GUIParameterTableItem.h>

Go to the source code of this file.

Functions

 FXDEFMAP (GUIParameterTableWindow) GUIParameterTableWindowMap[]
 FXIMPLEMENT (GUIParameterTableWindow, FXMainWindow, GUIParameterTableWindowMap, ARRAYNUMBER(GUIParameterTableWindowMap)) GUIParameterTableWindow


Function Documentation

FXDEFMAP ( GUIParameterTableWindow   ) 

FXIMPLEMENT ( GUIParameterTableWindow  ,
FXMainWindow  ,
GUIParameterTableWindowMap  ,
ARRAYNUMBER(GUIParameterTableWindowMap)   
)

Definition at line 56 of file GUIParameterTableWindow.cpp.

References GUIIconSubSys::getIcon(), ICON_APP_TABLE, and MID_TABLE.

00064         : FXMainWindow(app.getApp(), (o.getFullName() + " Parameter").c_str(),
00065                        NULL,NULL,DECOR_ALL,20,20,300,(FXint)(noRows*20+60)),
00066         myObject(&o),
00067         myApplication(&app), myCurrentPos(0) {
00068     myTable = new FXTable(this, this, MID_TABLE, TABLE_COL_SIZABLE|TABLE_ROW_SIZABLE|LAYOUT_FILL_X|LAYOUT_FILL_Y);
00069     myTable->setVisibleRows((FXint)(noRows+1));
00070     myTable->setVisibleColumns(3);
00071     myTable->setTableSize((FXint)(noRows+1), 3);
00072     myTable->setBackColor(FXRGB(255,255,255));
00073     myTable->setColumnText(0, "Name");
00074     myTable->setColumnText(1, "Value");
00075     myTable->setColumnText(2, "Dynamic");
00076     myTable->getRowHeader()->setWidth(0);
00077     FXHeader *header = myTable->getColumnHeader();
00078     header->setItemJustify(0, JUSTIFY_CENTER_X);
00079     header->setItemSize(0, 150);
00080     header->setItemJustify(1, JUSTIFY_CENTER_X);
00081     header->setItemSize(1, 80);
00082     header->setItemJustify(2, JUSTIFY_CENTER_X);
00083     header->setItemSize(2, 60);
00084     setIcon(GUIIconSubSys::getIcon(ICON_APP_TABLE));
00085 }


Generated on Wed May 5 00:06:37 2010 for Sumo - Simulation of Urban MObility by  doxygen 1.5.6