Uses of Class
utility.NightPlanner.BarInfo

Packages that use NightPlanner.BarInfo
utility Provides utility classes for TheSky applet program. 
 

Uses of NightPlanner.BarInfo in utility
 

Fields in utility declared as NightPlanner.BarInfo
 NightPlanner.BarInfo[] NightPlanner.barInfos
           
 NightPlanner.BarInfo NightPlanner.currentBar
           
 NightPlanner.BarInfo[] NightPlanner.saveBars
           
 

Methods in utility that return NightPlanner.BarInfo
 NightPlanner.BarInfo NightPlanner.getBar(java.lang.String name)
          gets a bar given its name
 

Methods in utility with parameters of type NightPlanner.BarInfo
 boolean NightPlanner.addNextBar(java.lang.String[] night, NightPlanner.BarInfo bar)
          add a bar to the night as far left as possible.
 int NightPlanner.amountOutsideRange(NightPlanner.BarInfo bar, int min, int max)
          sees how much of a bar is currently outside a given range
 boolean NightPlanner.betterToSwap(NightPlanner.BarInfo bar1, NightPlanner.BarInfo bar2)
          determines if swapping frees up space
 boolean NightPlanner.canMove(java.lang.String[] night, NightPlanner.BarInfo bar)
          sees if moving will create enough space
 boolean NightPlanner.canPush(java.lang.String[] night, NightPlanner.BarInfo bar)
          sees if pushing will create enough space
 boolean NightPlanner.canReorder(java.lang.String[] night, NightPlanner.BarInfo bar)
          sees if reordering bars can free up enough space
 boolean NightPlanner.canSwap(java.lang.String[] night, NightPlanner.BarInfo bar)
          sees if swapping will create enough space
static void NightPlanner.fill(java.lang.String[] night, NightPlanner.BarInfo bar, int index)
          adds a bar to the night centered at index
 int NightPlanner.gainedByPushing(java.lang.String[] night, NightPlanner.BarInfo bar, boolean pushForward, int errorReturn, java.util.Vector pushList, int limit)
          sees how much you can gain by pushing another bar forward or backward
 java.util.Vector NightPlanner.getAllOverlappingBars(java.util.Vector allBars, NightPlanner.BarInfo bar2, java.util.Vector barList)
          finds all bars that in some way connect to a given bar through overlap including bar
 int NightPlanner.getBarOverlap(NightPlanner.BarInfo bar1, NightPlanner.BarInfo bar2)
          gets the ammount of overlap of two bars
 void NightPlanner.getSwapList(java.util.Vector swapList, NightPlanner.BarInfo bar, java.util.Vector excludeBars)
          finds which bars in the list (excluding excludeBar) can be swapped with bar.
static boolean NightPlanner.isBlocked(java.lang.String[] night, NightPlanner.BarInfo bar, int index)
          sees if there is free space to add a bar centered at index
 void NightPlanner.move(java.lang.String[] night, NightPlanner.BarInfo bar)
          tries moving bar to free space
 void NightPlanner.swap(java.lang.String[] night, NightPlanner.BarInfo bar)
          tries swapping neighboring bars to free up more space
 

Constructors in utility with parameters of type NightPlanner.BarInfo
NightPlanner.BarInfo(NightPlanner.BarInfo bar)