com.tourapp.thin.app.booking.entry.search.item.JItemGridScreen Maven / Gradle / Ivy
/*
* Copyright © 2012 jbundle.org. All rights reserved.
*/
package com.tourapp.thin.app.booking.entry.search.item;
/**
* OrderEntry.java: Applet
* Copyright © 2012 tourgeek.com. All rights reserved.
*
* @author Don Corley [email protected]
* @version 1.0.0.
*/
import org.jbundle.thin.base.db.FieldList;
import org.jbundle.thin.base.db.FieldTable;
import org.jbundle.thin.base.screen.AbstractThinTableModel;
import org.jbundle.thin.base.screen.JBaseScreen;
import org.jbundle.thin.base.screen.cal.popup.ProductConstants;
import com.tourapp.thin.app.booking.entry.search.base.JProductGridScreen;
/**
* Main Class for applet OrderEntry
*/
public class JItemGridScreen extends JProductGridScreen
{
private static final long serialVersionUID = 1L;
/**
* OrderEntry Class Constructor.
*/
public JItemGridScreen()
{
super();
}
/**
* OrderEntry Class Constructor.
*/
public JItemGridScreen(Object parent, Object model)
{
this();
this.init(parent, model);
}
/**
* The init() method is called first.
*/
public void init(Object parent, Object model)
{
super.init(parent, model);
}
/**
* Create a grid screen for this form.
* @param record the (optional) record for this screen.
* @return The new grid screen.
*/
public JBaseScreen createMaintScreen(FieldList record)
{
return new JItemScreen(this.getParentObject(), record);
}
/**
* Get the remote table name (For remote table lookup).
* @return The table name.
*/
public String getRemoteTableName()
{
return ProductConstants.ITEM;
}
/**
* Setup the grid model.
* @param table The table.
* @return The grid model.
*/
public AbstractThinTableModel setupGridModel(FieldTable table)
{
return new ItemGridModel(table);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy