package oracle.forms.fd;
import java.awt.Color;
import java.awt.Font;
import java.awt.Image;
import javax.swing.Icon;

public class MultiProps extends Object {

    protected String    tooltip = "" ;
    protected String    hint    = "" ;    
    protected Color     cForeGround = null ;
    protected Color     cBackGround = null ;    
    protected int       iNumRec ;
    protected int       iValue ;
    protected double    dValue ;
    protected String    sValue = "" ;
    protected String    sLabel = null ;
    protected Font      fFont = null ;
    protected Image     image = null;
    protected boolean   bEnable = true;
    protected boolean   bVisible = true;
    oracle.forms.ui.FormsToolTip tp = null ;
    
    protected MultiProps (int p_iNumRec )
    {
       iNumRec     = p_iNumRec ;     
    }
    
   // set methods
   protected void setTooltip(String s) { tooltip = s ; }
   protected void setHint(String s)    { hint = s ; }
   protected void setFGColor(Color c)  { cForeGround = c ; }
   protected void setBGColor(Color c)  { cBackGround = c ; }   
   protected void setLabel(String s)  { this.sLabel = s ; }
   protected void setValue(int iValue)  { this.iValue = iValue ; }
   protected void setValue(double dValue)  { this.dValue = dValue ; }
   protected void setValue(String sValue)  { this.sValue = sValue ; }
   protected void setFont(Font f)  { this.fFont = f ; }
   protected void setImage(Image img)  { this.image = img ; }
   protected void setTP(oracle.forms.ui.FormsToolTip tp) { this.tp = tp ; }
   protected void setEnable(boolean b)  { this.bEnable = b ; }
   protected void setVisible(boolean b)  { this.bVisible = b ; }
   // get methods
   protected String getTooltip() { return tooltip ; }
   protected String getHint()    { return hint ; }
   protected Color  getBGColor() { return cBackGround ; }
   protected Color  getFGColor() { return cForeGround ; }
   protected int    getIValue()  { return iValue ; }
   protected double getFValue()  { return dValue ; }
   protected String getSValue()  { return sValue ; }
   protected String getLabel()   { return sLabel ; }
   protected Font getFont()      { return fFont ; }
   protected Image getImage()    { return image ; }
   protected boolean isEnable()  { return bEnable ; }
   protected boolean isVisible() { return bVisible ; }
   protected oracle.forms.ui.FormsToolTip getTP()  { return tp ; }

}
