This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 4140 - Request for adding method placeMode (ModeConstraints constraints)
Summary: Request for adding method ...
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: David Simonek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-10-01 17:52 UTC by David Simonek
Modified: 2008-12-23 10:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Simonek 1999-10-01 17:52:55 UTC
[Dafe - not really needed now, maybe in future]


/** Mode constraints allows to place the mode with convenience,
* even relative to the other mode.
*
*/
public class ModeConstraints extends Object {

  /** constants for bound meaning */
  public static final int ABSOLUTE = 1;
  public static final int PERCENT = 2;

  /** constants for placing relatively to another mode */
  public static final int LEFT = 1;
  public static final int RIGHT = 2;
  public static final int ABOVE = 4;
  public static final int BELOW = 8;


  /** Creates new ModeConstraints */
  public ModeConstraints (Rectangle bounds) {
  }

  public void setBounds (Rectangle bounds);


  public Rectangle getBounds ();

  /**
  * @param bound specified bound (X, Y, WIDTH, HEIGHT)
  * @param meaning menaing of the bounds (ABSOLUTE, PERCENT)
  */
  public void setBoundMeaning (int bound, int meaning);

  public int getBoundMeaning (int bound);

  /**
  * @param source the mode to which we want to place our mode relative to.
  * @param type the type of the constraint (LEFT, RIGHT, ABOVE, BELOW)
  */
  public void setSourceAndType (Mode source, int type);

  public Mode getSourceMode ();

  public void getSourceType ();

}
Comment 1 Marek Grummich 2000-07-25 09:24:59 UTC
Priority is changed to P4 (normal).
Comment 2 Quality Engineering 2003-07-02 14:55:30 UTC
Resolved for 3.4.x or earlier, no new info since then -> verify.
Comment 3 Quality Engineering 2003-07-02 15:17:34 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.