edu.rice.cs.drjava.ui.predictive
Class PredictiveInputFrame.FrameState

java.lang.Object
  extended by edu.rice.cs.drjava.ui.predictive.PredictiveInputFrame.FrameState
Enclosing class:
PredictiveInputFrame<T extends Comparable<? super T>>

public static class PredictiveInputFrame.FrameState
extends Object

Class to save the frame state, i.e. location and dimensions.


Field Summary
private  int _currentStrategyIndex
           
private  Dimension _dim
           
private  Point _loc
           
 
Constructor Summary
PredictiveInputFrame.FrameState(Dimension d, Point l, int currentStrategyIndex)
           
PredictiveInputFrame.FrameState(PredictiveInputFrame<?> comp)
           
PredictiveInputFrame.FrameState(String s)
           
 
Method Summary
 int getCurrentStrategyIndex()
           
 Dimension getDimension()
           
 Point getLocation()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_dim

private volatile Dimension _dim

_loc

private volatile Point _loc

_currentStrategyIndex

private volatile int _currentStrategyIndex
Constructor Detail

PredictiveInputFrame.FrameState

public PredictiveInputFrame.FrameState(Dimension d,
                                       Point l,
                                       int currentStrategyIndex)

PredictiveInputFrame.FrameState

public PredictiveInputFrame.FrameState(String s)

PredictiveInputFrame.FrameState

public PredictiveInputFrame.FrameState(PredictiveInputFrame<?> comp)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getDimension

public Dimension getDimension()

getLocation

public Point getLocation()

getCurrentStrategyIndex

public int getCurrentStrategyIndex()